alembic
Database migration tool for SQLAlchemy. tldr-pages
On several platforms
Several platforms
Initialize Alembic in a project
alembic init path/to/directoryIdentifyCreate a new migration script with autogeneration
alembic revision --autogenerate -m "message"IdentifyUpgrade the database to the latest revision
alembic upgrade headIdentifyDowngrade the database by one revision
alembic downgrade -1IdentifyShow the migration history
alembic historyIdentify