SQLAlchemy and Alembic 2 · Alembic migrations
List migrations
Show the revision history.
alembic history --verbose
Official SQLAlchemy and Alembic 2 documentation
More alembic migrations commands
- Install Alembic
- Create a migration environment
- Generate a migration
- Apply migrations
- Undo the last migration
- Check the current revision
All alembic migrations commands · SQLAlchemy and Alembic 2 cheatsheet