0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core
Hannah Wolfe 2cfee3812f Split migrations/index.js & add tests
refs #6301

- changes createTable to use createTableIfNotExists, this is consistent with deletion
- splits out backup, reset, update and populate functions from migration/index into their own files
- moves the wrapped function for populatingDefaultSettings to fixtures.ensureDefaultSettings
- moves `modelOptions` down to the fixture files that actually use it
- adds test coverage for backup, reset and populate, but not for update as that needs refactoring
2016-03-15 10:11:33 +00:00
..
client deps: ember-cli@2.4.2 2016-03-07 09:17:51 +00:00
server Split migrations/index.js & add tests 2016-03-15 10:11:33 +00:00
shared ensure null query options don't break ghost-url 2016-02-29 00:25:38 -06:00
test Split migrations/index.js & add tests 2016-03-15 10:11:33 +00:00
index.js