0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/test/utils/fixtures
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
..
admin-views
config
csv
data
export
filter-param
images
import 🐛 Fixed uppercase file extensions ignored in content import (#14268) 2022-03-11 09:17:58 +01:00
media
settings
themes Added detection of "ghost-api" use in theme config 2022-03-24 15:27:40 +13:00
urls
cache-rules.js
context.js
data-generator.js Cleaned up newsletter schema migrations (#14441) 2022-04-08 19:06:30 +05:30
default-settings.json Added default values for Stripe config in tests 2022-02-21 20:06:20 +13:00
fixtures.json Added the newsletter API permissions 2022-03-31 16:08:23 +02:00
test.hbs