Ghost/core/server/data/migrations/versions/4.3
Rishabh Garg 5da4ae90b2
Added cascade delete for stripe products and prices (#12891)
refs https://github.com/TryGhost/Team/issues/586

If a product inside Ghost is deleted, we want to cascade delete all associated Stripe products and prices as they always need to refer back to a ghost product and will hang without any reason otherwise. This change adds cascade delete for products -> stripe_products -> stripe_prices to avoid broken states
2021-04-20 15:24:52 +05:30
..
01-add-products-table.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
02-add-members-products-table.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
03-add-default-product.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
04-attach-members-to-product.js Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
05-add-stripe-products-table.js Added cascade delete for stripe products and prices (#12891) 2021-04-20 15:24:52 +05:30
06-add-stripe-prices-table.js Added cascade delete for stripe products and prices (#12891) 2021-04-20 15:24:52 +05:30
07-add-products-permissions.js Added permissions for the Products resource (#12875) 2021-04-15 14:34:45 +01:00
08-migrate-members-signup-setting.js Migrated members_allow_free_signup setting to members_signup_access (#12886) 2021-04-19 16:36:30 +01:00