Migrations

Migrations of the database are managed with the database migrations tool Alembic.

The Flask extensions Flask-Script and Flask-Migrate are used to ease remote migrations.

Local migrations

$ python src/manager.py db upgrade

Remote migrations

$ heroku run python src/manager.py db upgrade