Files
notifications-api/migrations
Richard Chapman 26617a921e Added database migration file
Currently the 'See templates used by month' report is timing out for
some services due to the query time of the data from notification_history
This is a stats table which will hold the data and will be updated by a
scheduled celery task once a day. This data will be combined with the
'live' data from notifications tables (which will be considerably less)
to form the data of the new report.
2017-11-09 10:34:49 +00:00
..
2017-11-09 10:34:49 +00:00
2017-08-16 12:50:44 +01:00

Generic single-database configuration.

python application.py db migrate to generate migration script.

python application.py db upgrade to upgrade db with script.

python application.py db downgrade to rollback db changes.

python application.py db current to show current script.