Ghost/test/regression/models
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
..
base Updated Settings.populateDefaults() to account for available columns 2020-06-29 13:22:10 +00:00
model_member_stripe_customer_spec.js Updated Member model to cascade on destroy (#12077) 2020-07-23 18:21:10 +02:00
model_members_spec.js Updated Member model to cascade on destroy (#12077) 2020-07-23 18:21:10 +02:00
model_posts_spec.js 🐛 Fixed small images appearing smaller in post content 2020-06-15 16:24:02 +01:00
model_stripe_customer_subscription_spec.js Updated Member model to cascade on destroy (#12077) 2020-07-23 18:21:10 +02:00
model_users_spec.js