Files
notifications-api/migrations
Rebecca Law 7489cda6f0 Optimise indexes
Dropping unnecessary indexes on Notification and Notication_History
Create new composite indexes that should give queries better performance
Drop and create new indexes.

We are not running this migration on production because we want to run each one at a time.
Run this on staging then start run some load tests
2020-03-31 14:12:55 +01:00
..
2020-03-31 14:12:55 +01:00

Generic single-database configuration.

flask db migrate to generate migration script.

flask db upgrade to upgrade db with script.

flask db downgrade to rollback db changes.

flask db current to show current script.