Ghost/test
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
..
api-acceptance Fixed oembed test 2020-07-22 19:49:30 +01:00
frontend-acceptance 🎨 New Google AMP template (#11986) 2020-07-06 17:09:24 +01:00
regression Updated Member model to cascade on destroy (#12077) 2020-07-23 18:21:10 +02:00
unit Fixed settings unit tests 2020-07-22 22:12:00 +01:00
utils Added field mapping support for members import CSVs 2020-07-02 15:18:39 +12:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.json Fixed linting error 2020-04-17 11:32:29 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00