0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/data/migrations/versions/5.0
Daniel Lockyer e10f33e30f Added users.status validation to the schema
refs https://github.com/TryGhost/Toolbox/issues/309

- this commit adds a validation array of valid user `status` values to
  the schema
- this also includes a migration to update users with invalid statuses
  to `inactive`, which I've seen with `invited` and `invited-pending`
  statuses that pre-dated proper invitations
- this also deletes tests that were wrong and written 7 years ago before
  invites was added
2022-05-09 16:13:44 +01:00
..
2022-03-14-12-33-delete-duplicate-offer-redemptions.js
2022-03-28-15-25-backfill-mrr-adjustments-for-offers.js
2022-04-25-10-32-backfill-mrr-for-discounted-subscriptions.js
2022-04-26-15-44-backfill-mrr-events-for-canceled-subscriptions.js
2022-04-27-11-26-backfill-mrr-for-canceled-subscriptions.js
2022-04-28-03-26-remove-author-id-column-from-posts-table.js 🏗 Removed author_id column from the posts table 2022-05-09 20:34:06 +08:00
2022-05-03-09-39-drop-nullable-subscribe-event-newsletter-id.js
2022-05-04-15-24-map-existing-emails-to-default-newsletter.js Assigned existing email records and related posts to the default newsletter (#14695) 2022-05-09 12:48:24 +01:00
2022-05-05-13-13-migrate-legacy-recipient-filters.js Migrated old recipient filters to NQL string format 2022-05-09 13:43:46 +01:00
2022-05-05-15-17-drop-oauth-table.js 🏗 Dropped oauth table 2022-05-09 14:18:01 +01:00
2022-05-09-14-17-cleanup-invalid-users-status.js Added users.status validation to the schema 2022-05-09 16:13:44 +01:00