Ghost/core/server/data/migrations/versions/4.1
Rishabh Garg 1a84b8d81b
🐛 Fixed unable to delete member (#12784)
closes https://github.com/TryGhost/Team/issues/557

After updating to v4 on SQLite from v3, we were unable to delete members due to a foreign key mismatch error. This is because the migrations which recreates the tables for `members_stripe_customers_subscriptions` and `members_stripe_customers` doesn't add back the unique constraint which is needed by FKs for reference.

The migration creates the missing UNIQUE constraints on the tables.
2021-03-18 22:20:58 +05:30
..
01-fix-backup-content-permission-typo.js Fixed typo in migration to add backupContent permission (#12777) 2021-03-18 14:52:12 +00:00
02-add-unique-constraint-for-member-stripe-tables.js 🐛 Fixed unable to delete member (#12784) 2021-03-18 22:20:58 +05:30