0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
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
..
client@b4fec93664 Updated Ghost-Admin to v3.21.0 2020-06-22 11:33:58 +01:00
frontend Renamed settings keys active_timezone to timezone 2020-06-24 14:11:20 +12:00
server Added migration to populate settings.{group,flags} (#11954) 2020-06-24 12:38:18 +01:00
shared Added mobiledoc transform to populate missing image sizes on forced re-render (#11924) 2020-06-17 13:12:32 +01:00
index.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00