0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/data
Matt Hanley 859d49626c
Updated mapping for stripe_products when product import is skipped (#14965)
refs d63e9256ea

- Following the ref'd commit, when migrating a site the default and free tiers would be skipped because they exist by default in the new site
- As the product is skipped, we don't have the ID available in the imported data to map the stripe_product to
- If the stripe_product isn't mapped, imported members won't be mapped to the correct tier
- This commit adds a lookup for the product by name and slug to restore the correct stripe_product mapping

Co-authored-by: Simon Backx <simon@ghost.org>
2022-06-03 17:31:53 +01:00
..
db Fixed detection of Windows environment when connecting to SQLite temp DB 2022-05-30 17:42:34 -04:00
exporter Added benefits, offers and snippets to exporter 2022-05-20 20:30:55 +01:00
importer Updated mapping for stripe_products when product import is skipped (#14965) 2022-06-03 17:31:53 +01:00
migrations Removed oauth experiment 2022-05-16 17:37:13 +01:00
schema Removed oauth experiment 2022-05-16 17:37:13 +01:00