Ghost/core/server/data/migration/004/index.js
Hannah Wolfe 0ad93c3df2 Rewrite DB update to be explicit
refs #6301

- Replace builder & automated database upgrade with a set of explicit tasks
- Ensure the tasks can only happen if they need to
- Remove some duplicate code between fixture & db upgrades (more to do)
- Add tests
2016-03-17 21:17:19 +00:00

13 lines
515 B
JavaScript

module.exports = [
// Added tour column to users
require('./01-add-tour-column-to-users'),
// Added sort_order to posts_tags
require('./02-add-sortorder-column-to-poststags'),
// Added redirection_uri, logo, status, type & description columns to clients
require('./03-add-many-columns-to-clients'),
// Added client_trusted_domains table
require('./04-add-clienttrusteddomains-table'),
// Dropped unique index on client secret
require('./05-drop-unique-on-clients-secret')
];