Ghost/core/server
Rishabh Garg b0df387deb
Cleaned up newsletter schema migrations (#14441)
refs https://github.com/TryGhost/Team/issues/1500

The newsletter table schema has bunch of changes to go through for new and existing columns, this consolidates the schema changes into a single re-create table migration that drops and adds the newsletter table with correct schema. The table re-create migration needs to run before any of the tables using newsletter as foreign key. The changes include -

- new columns for design related fields
- new slug column for filtering
- unique constraint to `name` column
- remove `default` column (noops the existing default column migration)
- `sender_reply_to` has a default of newsletter and a validation of ['newsletter', 'support']
- updated default values for `subscribe_on_signup` and  `recipient_filter`
2022-04-08 19:06:30 +05:30
..
adapters
api Added 'content-version' header response 2022-04-08 20:41:54 +12:00
data Cleaned up newsletter schema migrations (#14441) 2022-04-08 19:06:30 +05:30
lib
models Cleaned up newsletter schema migrations (#14441) 2022-04-08 19:06:30 +05:30
services Added MRR stats service and endpoint (#14427) 2022-04-08 09:18:04 +02:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Added MRR stats service and endpoint (#14427) 2022-04-08 09:18:04 +02:00
analytics-events.js
ghost-server.js
notify.js
overrides.js
run-update-check.js
update-check.js