0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/data/migrations
Rishabh c99ee980af Added migration to transform default tiers visibility from nql string
refs https://github.com/TryGhost/Team/issues/1071

Default content visiblity for specific tiers is now stored split between `default_content_visiblity` and `default_content_visibility_tiers` setting, with former storing the value as `tiers` and the latter stores the list of tiers that the visibility is restricted to. This migration transforms all existing sites that have default visibility stored as an NQL string from previous versions to follow the new model and store correctly on the new setting.
2022-02-04 19:56:11 +05:30
..
hooks Removed settings populateDefaults pre-migration 2021-02-10 10:34:08 +13:00
init Refactored fixtures to be loaded by fixture manager 2021-11-16 11:17:03 +00:00
versions Added migration to transform default tiers visibility from nql string 2022-02-04 19:56:11 +05:30
utils.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00