Alembic Commands
alembic history
alembic branches --verbose
alembic history
alembic heads --verbose
python manage.py alembic heads
alembic upgrade head
alembic merge -m "merge ae1 and 27c" ae1027 27c6a
alembic heads --verbose
alembic upgrade head
alembic current --verbose
alembic heads
alembic upgrade heads
alembic current
alembic downgrade -1
alembic current
alembic upgrade 27c6a
alembic show shoppingcart
alembic upgrade shoppingcart@head
alembic revision -m "add a shopping cart column"
alembic revision -m "add a shopping cart column" --head shoppingcart@head
src:
https://alembic.sqlalchemy.org/en/latest/branches.html
python manage.py alembic history
e524fd6c69a6 -> 9c7886fa84c2 (head), Export Feed File Delete Casecade - 2
20b7cc9a474b -> e524fd6c69a6, Export Feed File Delete Casecade
d1b1d5c7fea9 -> 20b7cc9a474b, Adding image processor to ingestions
c13750ed667e -> d1b1d5c7fea9, Made PartnerQueue permission_group_key nullable
<base> -> 19e705a9366c, empty message
python manage.py alembic heads
9c7886fa84c2 (head)
Last updated
Was this helpful?