Ghost/core/server/data/migrations
Rishabh Garg 744e5e57a0
Fixed missing portal product data (#14115)
closes  https://github.com/TryGhost/Team/issues/1311

For some sites, the `portal_products` array was created without any value and due to a possible bug in older version of Ghost, it also didn't get filled on Stripe connect with default product. This causes a side-effect of sites not showing the prices in Portal when tiers beta is enabled or is out as GA. This change populates the missing product data in `portal_product` for sites that have a single tier (haven't enabled tiers beta), as they right now don't have an option to hide the tier.
2022-02-04 19:57:38 +05:30
..
hooks Removed settings populateDefaults pre-migration 2021-02-10 10:34:08 +13:00
init Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
versions Fixed missing portal product data (#14115) 2022-02-04 19:57:38 +05:30
utils.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00