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 ---------------- .. code-block:: bash $ python manage.py db upgrade Remote migrations ----------------- .. code-block:: bash $ heroku run python manage.py db upgrade