Files
notifications-api/migrations
Chris Hill-Scott 2ef9618e70 Set default branding for all organisations
Currently when someone creates a service we match them to an
organisation. Then if the organisation has a default branding set, their
service gets that branding.

However none of the organisations yet have a default branding set up.
This commit migrates the data about the relationship between an
organisation and its branding from being inferred from the `domain`
field on the branding, to being a proper database relationship.
2019-04-05 15:40:20 +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.