0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
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
..
adapters Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
api Added automatic labelling of all members added during an import 2020-07-22 17:52:43 +01:00
data Improved settings validation (#12048) 2020-07-15 17:11:27 +02:00
lib 🐛 Fixed srcset and sizes attributes being rendered when image resizing unavailable 2020-07-02 18:03:22 +01:00
models Updated Member model to cascade on destroy (#12077) 2020-07-23 18:21:10 +02:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services Added publication icon to members site data 2020-07-23 17:04:44 +05:30
translations Added JSON Schema validations to Webhooks Admin API v3 2020-07-17 17:37:14 +12:00
views Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
web Fixed integration_id handling in Webhooks Admin API 2020-07-08 16:54:31 +12:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
index.js 🐛 Fixed settings cache being out of sync after migrations (#11987) 2020-07-01 17:16:57 +01:00
overrides.js
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00