Ghost/core/server/data/schema
Kevin Ansfield 1dfaf8c5f8
Added migration to store from/reply-to values in email table (#12204)
no issue

The email table should be a reference for all data that was used when sending an email. From and Reply-to addresses can change over time and we don't have any other reference for their value at the time of sending an email so we should store them alongside the email content.

- schema updated with `from` and `reply_to` columns
- both are set to `nullable` because we don't have historic data (can be populated and changed in later migrations if needed)
- neither `from` or `reply_to` have `isEmail` validations because they can have name+email in an email-specific format
- will help keep concerns separated in the future. `mega` service can deal with all of the email contents/properties, and the `bulk-email` service's concerns are then only email sending and any provider-specific needs
2020-09-24 08:20:10 +01:00
..
clients Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
fixtures Granted Admin users ability to impersonate member (#12132) 2020-08-18 14:17:56 +05:30
checks.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
commands.js Added support for ON DELETE CASCADE to the schema (#12105) 2020-08-05 13:20:30 +02:00
default-settings.json Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
index.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
schema.js Added migration to store from/reply-to values in email table (#12204) 2020-09-24 08:20:10 +01:00