Imagine you made some changes in a database, applying migration for this, but then you changed your mind and decided to return to the previous revision, using Alembic.
Below you have commands for these actions; rearrange them in the right order.
Imagine you made some changes in a database, applying migration for this, but then you changed your mind and decided to return to the previous revision, using Alembic.
Below you have commands for these actions; rearrange them in the right order.
alembic revision -m "database" alembic upgrade headalembic downgrade -1pip install alembic alembic init alembicCreate a free account to access the full topic