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 66652b6ea9 Added validation to posts status column
refs https://github.com/TryGhost/Toolbox/issues/309

- this commit adds `isIn` validation to the `status` column on the
  `posts` table, with values pulled from the model: c0d82122b0/core/server/models/post.js (L28)
- this also adds a migration to update any posts with invalid statuses
  to `draft`
2022-05-10 18:05:18 +01:00
..
db
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 validation to posts status column 2022-05-10 18:05:18 +01:00
schema Added validation to posts status column 2022-05-10 18:05:18 +01:00