Files
notifications-api/migrations
Rebecca Law 9e9b8ab1a3 There was a misunderstanding about how we wanted the feature to work.
There is no need for the extra column.
If a template does not have a default address set - they address will be blank.
Otherwise use the address of the service_letter_contact.

There will be another PR to do a db migration.
Template.service_letter_contact = blank if no service_letter_contacts for service ELSE use set Template.serivce_letter_contact_id = service default service_letter_contact
2018-01-05 15:32:43 +00:00
..
2017-08-16 12:50:44 +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.