mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
a21b91cc71
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 |
||
---|---|---|
.. | ||
01-add-products-table.js | ||
02-add-members-products-table.js | ||
03-add-default-product.js | ||
04-attach-members-to-product.js | ||
05-add-stripe-products-table.js | ||
06-add-stripe-prices-table.js | ||
07-add-products-permissions.js | ||
08-migrate-members-signup-setting.js | ||
09-add-price-id-column-to-subscriptions-table.js | ||
10-populate-stripe-price-id-in-subscriptions.js |