Ghost/core
Fabien 'egg' O'Carroll 5144a0e09c
Updated Member model to cascade on destroy (#12077)
no-issue

Up until now we have left orphaned rows in members_stripe_* tables when
a member is deleted, this updates the destroy method so that we cascade
and remove any MemberStripeCustomer and StripeCustomerSubscription
models related to the Member.

This also adds regression tests for the new functionality as well as to
confirm the existing functionality of cascading to the members_labels
join table

This adds the relations of Subscription->Customer & Customer->Member
2020-07-23 18:21:10 +02:00
..
client@8ae6b89d54 Updated Ghost-Admin to v3.26.1 2020-07-22 11:56:55 +01:00
frontend 🐛 Fixed edit link for staff members 2020-07-21 12:28:50 +01:00
server Updated Member model to cascade on destroy (#12077) 2020-07-23 18:21:10 +02:00
shared Switched on Stripe Connect by default 2020-06-30 14:07:33 +02:00
index.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00