0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/data/migrations
Simon Backx ab4ea4850d
Fixed null values in settings default newsletter migration (#14638)
refs https://ghost.slack.com/archives/C02G9E68C/p1651484563907609

- When the site has an empty name, it is set to `NULL` in settings.
- The name column is not nullable in newsletters, breaking the migration in that case.
- Fixed by excluding all non-nullable columns
- Replaced JS Date object with raw SQL `CURRENT_TIMESTAMP`
2022-05-02 12:16:58 +02:00
..
hooks
init Removed unnecessary checks during initial DB init 2022-02-21 08:44:40 +01:00
versions Fixed null values in settings default newsletter migration (#14638) 2022-05-02 12:16:58 +02:00
utils.js Added erroring migrations to the final minor of deleted majors 2022-04-28 15:37:10 +01:00