Ghost/core/server/data/migrations/versions/3.22
Daniel Lockyer d8fdf2052c Added check for missing DB data
- this check should never really be hit unless the DB has missing data,
  but the code tries to read from an undefined variable and crashes, which we
  can protect against
- this can be triggered by doing a `knex-migrator init` followed by a
  `knex-migrator rollback --v 3.0 --force`
2020-11-05 12:13:58 +00:00
..
01-removed-legacy-values-from-settings-table.js Revert "Revert "Added migration to remove deprecated values from the settings table (#11942)"" 2020-06-24 01:07:29 +12:00
02-settings-key-renames.js Fixed migration exiting for single missing setting 2020-06-30 18:38:55 +02:00
03-add-group-and-flags-to-settings.js Added migration to add settings.{group,flags} columns (#11951) 2020-06-24 11:58:15 +01:00
04-populate-settings-groups-and-flags.js Added missing Bluebird requires 2020-11-05 11:55:14 +00:00
05-migrate-members-subscription-settings.js Hardened members subscription migration against missing data (#12009) 2020-07-06 12:18:13 +02:00
06-migrate-stripe-connect-settings.js Updated migrations to always set group,types,flags 2020-06-30 13:54:01 +02:00
07-update-type-for-settings.js Added check for missing DB data 2020-11-05 12:13:58 +00:00