CmdID

CmdID / Commands

alembic

Database migration tool for SQLAlchemy. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Initialize Alembic in a project

alembic init path/to/directoryIdentify

Create a new migration script with autogeneration

alembic revision --autogenerate -m "message"Identify

Upgrade the database to the latest revision

alembic upgrade headIdentify

Downgrade the database by one revision

alembic downgrade -1Identify

Show the migration history

alembic historyIdentify