0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
Fabien 'egg' O'Carroll 3b6c55ec53
Remove orphaned Stripe data from SQLite (#12704)
refs https://github.com/TryGhost/Team/issues/476

* Moved paid subscription events population migration

This migration relies on the members_stripe_customers and
members_stripe_customer_subscriptions tables having no orphaned records
in order for it to correcly generate its data.

The migration to clean up orphaned records in those tables has not been
implemented yet, moving this migration free's up the "14" slot

* Removed orphaned stripe data from SQLite3

SQLite databases do not handle removing orphaned stripe records after a
member has been deleted. Our migration to populate the paid subscription
events relies on each customer and subscription being associated with a
member.
2021-03-01 14:32:49 +00:00
..
db Removed logging require in db/connection.js (#12690) 2021-02-22 12:58:57 +00:00
exporter Removed stripe keys and analytics data from export (#12573) 2021-01-28 14:55:54 +05:30
importer Refactored usage of pre v4 "unsplash" setting format 2021-02-18 10:55:59 +13:00
migrations Remove orphaned Stripe data from SQLite (#12704) 2021-03-01 14:32:49 +00:00
schema Added a primary key to the brute table 2021-03-01 12:17:26 +01:00
validation Improved settings validation (#12048) 2020-07-15 17:11:27 +02:00