Ghost/ghost/members-api
Rishabh aa640ada5e Added migration for stripe plans to custom prices
refs https://github.com/TryGhost/Team/issues/637

- Adds one-off migration that reads from current `stripe_plans data` for a price, and ensures that the corresponding price is present in `stripe_prices` table at start.
- Currently, the portal_plans setting is used to determine the prices available to Portal for showing on Signup or Subscription change screen. The values allowed in portal_plans currently only allow [free, monthly, yearly] , which needs to be updated now to store price ids of available prices instead. Uses above migration to populate `portal_plans` with ids instead of names.
2021-05-04 21:52:51 +05:30
..
lib Added migration for stripe plans to custom prices 2021-05-04 21:52:51 +05:30
test Updated APIs to use price ids 2021-05-04 21:52:51 +05:30
.eslintrc.js Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.gitignore Refactor members-api (#231) 2021-01-18 13:55:40 +00:00
index.js Added migration for stripe plans to custom prices 2021-05-04 21:52:51 +05:30
package.json Published new versions 2021-04-26 17:18:24 +01:00