Files
notifications-api/migrations
Rebecca Law 1b4097cb16 Add three new columns to job_statistics for sent, delivered and failed.
A job only ever has one notification type.
This is the first deploy, where the columns are added and populated.

Next a data migration will happen to populate these new columns for the older jobs that do not have the values set.
Then we stop populating the old columns and remove them.
This refactoring of the table structure will make the queries to the table much easier to handle.
2017-06-07 11:15:05 +01:00
..

Generic single-database configuration.

python application.py db migration to generate migration script.

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

python application.py db downgrade to rollback db changes.