0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00
ghost/core
Fabien O'Carroll fa327a7a85 Passed Settings model to @tryghost/members-api
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.
2021-05-03 13:59:13 +01:00
..
client@5fb87eb632 Updated Ghost-Admin to v4.3.3 2021-04-29 12:12:55 +01:00
frontend Moved theme service to core/server 2021-04-27 15:14:49 +01:00
server Passed Settings model to @tryghost/members-api 2021-05-03 13:59:13 +01:00
shared Fixed invite only handling in Portal 2021-04-27 23:16:12 +05:30
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Moved theme service to core/server 2021-04-27 15:14:49 +01:00
bridge.js Moved activate from themes to the bridge 2021-04-27 13:52:19 +01:00