0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data/schema
Rishabh 6f89ccf901 Added default_content_visibility_tiers setting for default tiers visibility
refs https://github.com/TryGhost/Team/issues/1071

Default content visibility for a post can be one of `public|members|paid|tiers`, where `tiers` denotes visibility restricted to specific tiers. This change adds a new setting to store the tier ids when default content visibility is set to `tiers`. This closely matches how the visibility is stored on `posts` table as well, with `visibility` stored as `tiers` and tiers data is stored on tiers pivot table.
2022-02-04 19:56:11 +05:30
..
clients Fixed "no-shadow" linting error in server/data modules (#12288) 2020-10-20 11:56:46 +13:00
fixtures Added active column to products table (#14016) 2022-01-20 15:50:18 +02:00
checks.js
commands.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
default-settings.json Added default_content_visibility_tiers setting for default tiers visibility 2022-02-04 19:56:11 +05:30
index.js Moved schema validator into the schema module 2021-06-15 11:54:34 +01:00
schema.js Migrated email filter columns from VARCHAR to TEXT (#14091) 2022-02-04 16:09:35 +02:00
validator.js Switch to @trghost/validator, remove validator 2021-06-16 08:11:22 +01:00