mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
b0df387deb
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` |
||
---|---|---|
.. | ||
fixtures | ||
mocks | ||
admin-api-test-agent.js | ||
admin-utils.js | ||
api.js | ||
assertions.js | ||
configUtils.js | ||
content-api-test-agent.js | ||
db-utils.js | ||
e2e-framework-mock-manager.js | ||
e2e-framework.js | ||
e2e-utils.js | ||
fixture-utils.js | ||
index.js | ||
members-api-test-agent.js | ||
overrides.js | ||
redirects.js | ||
test-agent.js | ||
url-service-utils.js | ||
urlUtils.js |