Ghost/core/server/data/migrations/versions/4.3
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-products-table.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
02-add-members-products-table.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
03-add-default-product.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
04-attach-members-to-product.js Added lint rules for migrations 2021-11-29 16:21:43 +00:00
05-add-stripe-products-table.js Added cascade delete for stripe products and prices (#12891) 2021-04-20 15:24:52 +05:30
06-add-stripe-prices-table.js Updated active column type from boolean -> bool 2021-05-07 16:37:38 +01:00
07-add-products-permissions.js Added permissions for the Products resource (#12875) 2021-04-15 14:34:45 +01:00
08-migrate-members-signup-setting.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
09-add-price-id-column-to-subscriptions-table.js Added stripe_price_id column to subscriptions table (#12881) 2021-04-20 16:37:59 +05:30
10-populate-stripe-price-id-in-subscriptions.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00