5144a0e09c
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 |
||
---|---|---|
.. | ||
base | ||
model_member_stripe_customer_spec.js | ||
model_members_spec.js | ||
model_posts_spec.js | ||
model_stripe_customer_subscription_spec.js | ||
model_users_spec.js |