Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 442 Bytes

File metadata and controls

19 lines (13 loc) · 442 Bytes

Migrations

Using SqlAlchemy + alembic

Other docs:

Create fresh database

!!! Before run commands you need will delete db file and all alembic migrations files.

   alembic revision --autogenerate -m 'initial' # Create new first migration file
   alembic upgrade head # Load migration into db

After that result db/migrations/XXXXXXXXXXXX_initial.py