Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 352 Bytes

FAQ.md

File metadata and controls

3 lines (2 loc) · 352 Bytes

alembic.util.CommandError: Target database is not up to date.

After creating a migration, either manually or as --autogenerate, you must apply it with alembic upgrade head. If you used db.create_all() from a shell, you can use alembic stamp head to indicate that the current state of the database represents the application of all migrations.