Ghost/ghost/core/test/unit
Kevin Ansfield 2a340bcab9
Added migration and schema change for posts_meta.hide_title_and_feature_image (#17187)
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
2023-07-05 14:48:25 +01:00
..
api Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
frontend Corrected image CORS (#17119) 2023-06-23 14:33:00 +02:00
server Added migration and schema change for posts_meta.hide_title_and_feature_image (#17187) 2023-07-05 14:48:25 +01:00
shared Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00