mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
fa327a7a85
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. |
||
---|---|---|
.. | ||
adapters | ||
api | ||
data | ||
lib | ||
models | ||
public | ||
services | ||
translations | ||
views | ||
web | ||
analytics-events.js | ||
ghost-server.js | ||
notify.js | ||
overrides.js | ||
update-check.js |