Ghost/core/server/data/migrations/versions/4.20
Fabien 'egg' O'Carroll d962f0e18e
Removed NOT NULL constraint from portal_title (#13659)
refs https://github.com/TryGhost/Team/issues/1163

We want to make the title for Offers optional, our nullable validation
means that we cannot store an empty string, so we must remove the NOT
NULL constraint from the column if we want to store either an empty
value or null.

There is a bug with editing columns in SQLite with `knex` which strips all
the indexes, so we have to manually add them afterwards.
2021-10-22 14:14:49 +02:00
..
01-remove-offer-redemptions-table.js Updated Offers related tables (#13609) 2021-10-20 14:22:37 +02:00
02-remove-offers-table.js Updated Offers related tables (#13609) 2021-10-20 14:22:37 +02:00
03-add-offers-table.js Updated Offers related tables (#13609) 2021-10-20 14:22:37 +02:00
04-add-offer-redemptions-table.js Updated Offers related tables (#13609) 2021-10-20 14:22:37 +02:00
05-remove-not-null-constraint-from-portal-title.js Removed NOT NULL constraint from portal_title (#13659) 2021-10-22 14:14:49 +02:00