Ghost/core/server/data/migrations/versions/4.0
Sam Lord a21b91cc71 Added lint rules for migrations
refs: https://github.com/TryGhost/Toolbox/issues/105

Lint rules prevent:

* Invalid naming conventions for new migrations
* Loop constructs in migrations - these should be used with caution
and are therefore a warning rule, use `// eslint-disable-next-line
no-restricted-syntax` to prevent this rule from firing where a loop is
required
* Returing within a loop - this is usually meant to be a
continue/break
* Multiple joins - these can be badly performing migrations, so should
be treated with caution, disable the rule for the line if the risk is
understood / the migration cannot be written without it
2021-11-29 16:21:43 +00:00
..
01-update-mobiledoc.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
02-add-status-column-to-members.js Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
03-populate-status-column-for-members.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
04-drop-apps-related-tables.js 🏗 Dropped apps related tables 2021-02-03 12:20:08 +13:00
05-add-members-subscribe-events-table.js Added members_subscribe_events table 2021-02-05 16:02:08 +00:00
06-populate-members-subscribe-events-table.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
07-alter-unique-constraint-for-posts-slug.js 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00
08-add-members-login-events-table.js Unified migration logging styles 2021-02-18 17:35:32 +00:00
09-add-members-email-change-events-table.js Updated members_email_change_events to store previous email (#12641) 2021-02-12 16:15:31 +00:00
10-add-members-status-events-table.js Updated members_status_events table (#12647) 2021-02-16 10:38:36 +00:00
11-add-members-paid-subscription-events-table.js Updated members_paid_subscription_events table (#12636) 2021-02-11 12:45:18 +00:00
12-delete-apps-related-settings-keys.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
13-add-members-payment-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
14-remove-orphaned-stripe-records.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
15-add-frontmatter-column-to-meta.js Added the frontmatter column to meta 2021-02-12 15:31:04 +01:00
16-refactor-slack-setting.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
17-populate-members-status-events-table.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
18-transform-urls-absolute-to-transform-ready.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
19-remove-labs-members-setting.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
20-refactor-unsplash-setting.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
21-sanitize-email-batches-provider-id.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
22-solve-orphaned-webhooks.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
23-regenerate-posts-html.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
24-add-missing-email-permissions.js 🐛 Fixed email permissions for all roles 2021-03-01 13:17:43 +00:00
25-populate-members-paid-subscription-events-table.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
26-add-cascade-on-delete.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
27-add-primary-key-brute-migrations-lock.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
28-add-webhook-intergrations-foreign-key.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
29-fix-foreign-key-for-members-stripe-customers-subscriptions.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
30-set-default-accent-color.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00