mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
refs https://github.com/TryGhost/Team/issues/637 refs https://github.com/TryGhost/Team/issues/591 We need to run migrations which will update the `portal_plans` setting to use id's rather than names. This migration relies on the `stripe_prices` table being complete populated. The migration to populate the `stripe_prices` table was not added as a "normal" migration because it needs to access the Stripe API over the network. Any migrations that rely on this are unable to be run in a "normal" migration as that cannot be sure that the database is in the correct state. The `portal_plans` setting migration is therefore run in code, and needs access to the Settings model in order to modify the database. |
||
---|---|---|
.. | ||
emails | ||
importer | ||
stats | ||
api.js | ||
config.js | ||
content-gating.js | ||
index.js | ||
middleware.js | ||
settings.js | ||
SingleUseTokenProvider.js | ||
stripe-connect.js | ||
utils.js |