Ghost/core
Kevin Ansfield 490f9787fa
Added migration to create indexes and constraints for member tables (#12108)
no issue

For large numbers of members we're unable to perform queries for free/paid members in a reasonable time without indexes. Bulk delete is also very slow when looping through bookshelf models and having bookshelf manage deletion of child records, adding `ON DELETE CASCADE` to the foreign key indexes moves child deletion to the DB level and allows for performant bulk delete queries.

- migrations only run on mysql because sqlite does not support altering tables
- adds foreign key indexes and constraints with 'ON DELETE CASCADE' for members_labels, members_stripe_customers, and members_stripe_customers_subscriptions
2020-08-06 14:57:05 +02:00
..
client@4915f6aee2 Updated Ghost-Admin to v3.28.0 2020-08-04 11:23:40 +01:00
frontend 🐛 Fixed incorrect member gating on custom static page routes 2020-08-03 17:28:55 +05:30
server Added migration to create indexes and constraints for member tables (#12108) 2020-08-06 14:57:05 +02:00
shared Switched on Stripe Connect by default 2020-06-30 14:07:33 +02:00
index.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00