Ghost/core/server/data/migrations/versions/4.8
Kevin Ansfield 446993a905
Added additional newsletter customisation settings (#13074)
refs https://github.com/TryGhost/Team/issues/793

New settings added for newsletter customisation options:

- `newsletter_header_image` - `null/"$url"`
- `newsletter_show_header_icon` - `"true/false"`
- `newsletter_show_header_title` - `"true/false"`
- `newsletter_title_alignment` - `"center/left"`
- `newsletter_title_font_category` - `"serif/sans_serif"`
- `newsletter_show_feature_image` - `"true/false"`

`newsletter_show_header` has been dropped because the same functionality can be achieved by setting both `newsletter_show_header_icon` and `newsletter_show_header_title` to `false`

---

- migration to convert and delete `newsletter_show_header` setting
- removed `newsletter_show_header` from default settings to ensure it doesn't get re-created
- replaced main labs template and template settings generation with the labs template
- deleted labs template
2021-06-21 13:40:40 +01:00
..
01-add-feature-image-alt-column-to-posts-meta.js Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
02-add-feature-image-caption-column-to-posts-meta.js Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
03-add-default-product-portal-products.js Added new portal_products setting (#13055) 2021-06-21 14:01:50 +05:30
04-migrate-show-newsletter-header-setting.js Added additional newsletter customisation settings (#13074) 2021-06-21 13:40:40 +01:00