Ghost/core/server/data
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
..
db Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
exporter Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
importer Added handling for new members support/reply email addresses 2020-08-31 18:09:38 +05:30
migrations Added migration to store from/reply-to values in email table (#12204) 2020-09-24 08:20:10 +01:00
schema Added migration to store from/reply-to values in email table (#12204) 2020-09-24 08:20:10 +01:00
validation Improved settings validation (#12048) 2020-07-15 17:11:27 +02:00