0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
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
..
db Swapped to American English spellings 2021-09-23 18:36:38 +02:00
exporter Added offer_redemptions table to database 2021-10-13 17:37:39 +02:00
importer Made storage calls related to images use "images" feature 2021-10-21 20:22:45 +13:00
migrations Removed NOT NULL constraint from portal_title (#13659) 2021-10-22 14:14:49 +02:00
schema Removed NOT NULL constraint from portal_title (#13659) 2021-10-22 14:14:49 +02:00