Database

Database Migration

For database migration, we use Alembic. To add the alembic metadata to the database and make it ready for later migration, run:

alembic stamp head

to add the alembic metadata to the database and make it ready for later migration.

If you want to migrate your database to the latest version, just execute

alembic upgrade head