Ghost/core/server/data
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
..
db Switched to mysql2 library 2022-03-03 09:59:37 +01:00
exporter Added table to store multiple newsletters for member (#14408) 2022-04-04 18:11:36 +05:30
importer Removed backwards compatibility for ghost_head and ghost_foot settings 2022-04-28 15:37:14 +01:00
migrations Fixed null values in settings default newsletter migration (#14638) 2022-05-02 12:16:58 +02:00
schema Added deprecation comments and notes to schema.js 2022-05-02 11:05:13 +01:00