0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/data
Kevin Ansfield 4a9e57c170
Added migration to add settings.{group,flags} columns (#11951)
refs https://github.com/TryGhost/Ghost/issues/10318

- `group`
  - to replace the `type` column, provides a more descriptive name for the columns use
  - for existing sites it will be populated by migrating data from the `type` column in a later migration
  - for new sites a minimal update has been added to `parseDefaultSettings()` to populate the `group` field when settings are created during startup - fixes the NOT NULL constraint on `settings.group`
- `flags`
  - signifies special handling that is different to other settings in a group
  - eg, `PUBLIC,RO` would indicate that the setting is available via unauthenticated endpoints and is read-only
2020-06-24 11:58:15 +01:00
..
db Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
exporter Removed use of deprecated setting flags from the codebase 2020-06-23 11:58:19 +12:00
importer Removed "from address" overwrite in importer (#11914) 2020-06-15 12:22:55 +05:30
meta Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
schema Added migration to add settings.{group,flags} columns (#11951) 2020-06-24 11:58:15 +01:00
validation Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
xml/sitemap Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00