0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data/migrations
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
..
hooks Removed settings populateDefaults pre-migration 2021-02-10 10:34:08 +13:00
init Reworked init migrations to use async/await (#13635) 2021-10-21 11:19:59 +01:00
versions Removed NOT NULL constraint from portal_title (#13659) 2021-10-22 14:14:49 +02:00
utils.js Removed bluebird import from migration utils 2021-08-25 23:30:14 +02:00