Ghost/ghost/members-api/lib
Rishabh 7d8e18c802 Added migration to revert portal_plans setting to named values
closes https://github.com/TryGhost/Team/issues/753

Currently, the portal_plans setting is storing price ids for active monthly/yearly prices for the default product, which was done to allow multiple prices in Portal. Since we only want to limit the prices for a Product to monthly/yearly, we are reverting the earlier migration and only store the available prices as monthly / yearly in portal setting instead of ids. Its also in sync with the approach in theme/API where we use named prices for monthly/yearly instead of price id list.
2021-06-04 12:14:57 +05:30
..
controllers Updated APIs to use price ids 2021-05-04 21:52:51 +05:30
migrations Added migration to revert portal_plans setting to named values 2021-06-04 12:14:57 +05:30
repositories Handled monthly and yearly prices in product repo 2021-06-03 14:45:36 +01:00
services Handled monthly and yearly prices in product repo 2021-06-03 14:45:36 +01:00
common.js Added subscription update middleware (#107) 2019-12-12 15:19:36 +07:00