Ghost/core/server/data/migrations/versions/3.38
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-add-email-recipient-filter-column.js Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
02-populate-email-recipient-filter-column.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
03-add-recipient-filter-column.js Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
04-populate-recipient-filter-column.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
05-add-emails-track-opens-column.js Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
06-add-newsletter-settings.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
07-migrate-newsletter-settings-from-config.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
08-repopulate-send-email-when-published-down-migration.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
09-remove-send-email-when-published-column.js Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00