Skip to content

Latest commit

 

History

History
 
 

alembic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Table of Contents generated with DocToc

Creating a new revision

alembic revision --autogenerate -m "enter description here"

Note: Please read What does Autogenerate Detect (and what does it not detect?) and always make sure to review the generated revision file before running it.

Running migrations

alembic upgrade head

Downgrading migrations

alembic downgrade -1

Check your current alembic setup

alembic current