Commit Graph

3 Commits

Author SHA1 Message Date
Sean McGivern 1245cccf68 Use `table` helper in migration specs 2017-09-06 12:57:30 -05:00
Sean McGivern cd84ce1a1b Don't depend on user model in migration spec
The User model now has a default value for a field that didn't exist when these
migrations ran.
2017-09-06 12:56:22 -05:00
Sean McGivern e94c1028c1 Deserialise existing custom notification settings
Create a post-deployment migration to update all existing notification settings
with at least one custom level enabled to the new format. Also handle the same
conversion when updating settings, to catch any stragglers.
2017-06-15 15:15:13 +01:00