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
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
..
1.25 Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01:00
2.37 Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01:00
3.41 Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01:00
4.0 Update dependency @tryghost/security to v0.3.0 (#14718) 2022-05-06 17:53:10 +01:00
4.1 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.11
4.12
4.13
4.14
4.15
4.16
4.17
4.19
4.20 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.22
4.23
4.33 Added note for using id as slug for free tier 2022-03-11 18:08:47 +05:30
4.34 Added welcome_page_url column to products table 2022-01-26 11:44:40 +02:00
4.35 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.36 Added the last_seen_at column to members 2022-02-09 11:57:45 +01:00
4.37 Switched to util for retrieving DB info in migrations 2022-03-02 15:05:55 +01:00
4.38 Switched products.visible for products.visibility (#14264) 2022-03-04 11:07:38 +00:00
4.39 Migrated visibility column from portal settings (#14253) 2022-03-07 11:38:39 +00:00
4.40 Enabled Admin integration for tiers and offers API (#14325) 2022-03-16 16:46:26 +05:30
4.42 Updated migration eslint rule to catch bad filenames 2022-04-05 11:50:39 +01:00
4.43 Added validations to table creation 2022-04-26 15:51:02 +01:00
4.44 Added offer_id column to members_stripe_customers_subscriptions (#14487) 2022-04-15 13:47:15 +02:00
4.45 Added version_notifications key to settings table 2022-04-21 20:34:19 +08:00
4.46 Fixed null values in settings default newsletter migration (#14638) 2022-05-02 12:16:58 +02:00
4.47 Updated migration to always set a value 2022-05-05 15:11:44 +01:00
5.0 Added users.status validation to the schema 2022-05-09 16:13:44 +01:00