One migration back

Report a typo

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.

Put the items in the correct order
alembic revision -m "database"
alembic upgrade head
alembic downgrade -1
pip install alembic
alembic init alembic
___

Create a free account to access the full topic