Ghost/core/server/data
Kevin Ansfield 1dc0405803
Added migration to populate settings.{group,flags} (#11954)
refs https://github.com/TryGhost/Ghost/issues/10318

- maps old `settings.type` values to new `settings.type/group` values
  - uses an explicit map so that we don't lose information and can safely roll back even though we're modifying `settings.type` too
  - updates `settings.type` values too to keep code working while we switch to using `settings.group`
- sets the `settings.group` value for all settings which are keeping the same group as their current type
- adapts `settings.type` validations to match new groups
- adds flags to specific settings, both in the migration for existing settings records and in default-settings.json for new settings records
2020-06-24 12:38:18 +01:00
..
db Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
exporter Removed use of deprecated setting flags from the codebase 2020-06-23 11:58:19 +12:00
importer Fixed importer mapping for renamed default_locale, active_timezone, ghost_* settings 2020-06-24 14:19:52 +12:00
migrations Added migration to populate settings.{group,flags} (#11954) 2020-06-24 12:38:18 +01:00
schema Added migration to populate settings.{group,flags} (#11954) 2020-06-24 12:38:18 +01:00
validation Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00