0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/data/migrations/versions/4.46
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
..
2022-04-13-12-00-add-created-at-newsletters.js Fixed created_at newsletter migration (#14568) 2022-04-26 12:31:34 +01:00
2022-04-13-12-01-add-updated-at-newsletters.js
2022-04-13-12-02-fill-created-at-newsletters.js Fixed created_at newsletter migration (#14568) 2022-04-26 12:31:34 +01:00
2022-04-13-12-03-drop-nullable-created-at-newsletters.js Fixed created_at newsletter migration (#14568) 2022-04-26 12:31:34 +01:00
2022-04-13-12-08-newsletters-show-header-name.js
2022-04-13-12-57-add-uuid-column-to-newsletters.js Added uuid to newsletter schema (#14600) 2022-04-27 19:20:25 +05:30
2022-04-13-12-58-fill-uuid-for-newsletters.js Added uuid to newsletter schema (#14600) 2022-04-27 19:20:25 +05:30
2022-04-13-12-59-drop-nullable-uuid-newsletters.js Added uuid to newsletter schema (#14600) 2022-04-27 19:20:25 +05:30
2022-04-13-13-00-add-default-newsletter.js Fixed null values in settings default newsletter migration (#14638) 2022-05-02 12:16:58 +02:00
2022-04-20-08-39-map-subscribers-to-default-newsletter.js Mapped subscribers to newsletter (#14518) 2022-04-26 12:31:34 +01:00
2022-04-22-07-43-add-newsletter-id-to-subscribe-events.js
2022-04-27-07-59-set-newsletter-id-subscribe-events.js Added migration that backfills newsletter_id on all subscribe events (#14597) 2022-04-27 17:52:06 +02:00