Ghost/core/server/data
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
..
db 💡 Enabled foreign key checks on sqlite3 2021-03-02 11:13:19 +01:00
exporter Excluded member events tables from site exports 2021-03-05 11:41:00 +00:00
importer Added default value to accent_color setting (#12743) 2021-03-09 16:15:10 +00:00
migrations 🐛 Fixed unable to delete member (#12784) 2021-03-18 22:20:58 +05:30
schema Updated fixture copy 2021-03-11 19:20:30 +00:00
validation Improved settings validation (#12048) 2020-07-15 17:11:27 +02:00