mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
2a340bcab9
closes https://github.com/TryGhost/Team/issues/3550 We want to allow an option to hide the title and feature image on a per-page basis, to do that we need somewhere to store the setting value. The existing `posts_meta` table is the simplest candidate, especially as this is a single setting and we don't have a desire to introduce many such settings. - added migration that adds the `hide_title_and_feature_image` column to the `posts_meta` table with a `boolean` data type and a default value of `false` (matches behaviour of all existing pages) - updated schema file for initial database creation - removed property from API output via serializers to keep migration PR minimal |
||
---|---|---|
.. | ||
api | ||
frontend | ||
server | ||
shared |