0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/data
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
..
db Switched to mysql2 library 2022-03-03 09:59:37 +01:00
exporter 🏗 Dropped oauth table 2022-05-09 14:18:01 +01:00
importer Refined newsletter import sanitisation 2022-05-09 12:32:25 +05:30
migrations Added users.status validation to the schema 2022-05-09 16:13:44 +01:00
schema Added users.status validation to the schema 2022-05-09 16:13:44 +01:00