Ghost/ghost
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
..
adapter-cache-memory-ttl Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
adapter-cache-redis Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
adapter-manager Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
admin Added feature flag for flatUrls 2023-07-05 17:41:28 +08:00
announcement-bar-settings Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
api-framework Implemented duplicate post functionality (#16767) 2023-05-15 09:30:32 +01:00
api-version-compatibility-service Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
audience-feedback Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
bootstrap-socket Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
collections Update dependency typescript to v5.1.6 2023-06-29 08:24:30 +02:00
constants Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
core Added migration and schema change for posts_meta.hide_title_and_feature_image (#17187) 2023-07-05 14:48:25 +01:00
custom-theme-settings-service Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
data-generator Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
domain-events Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
dynamic-routing-events Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
email-analytics-provider-mailgun Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
email-analytics-service Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
email-content-generator Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
email-events Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
email-service 🐛 Fixed sending newsletters with counter-reset CSS styles in custom HTML (#17194) 2023-07-04 10:18:16 +02:00
email-suppression-list Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
event-aware-cache-wrapper Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
express-dynamic-redirects Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
external-media-inliner Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
extract-api-key Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
html-to-plaintext 🐛 Fixed signup card in post plaintext and email preheader (#17163) 2023-06-29 14:45:30 +02:00
i18n Updated Swedish translations for signup-form (#17164) 2023-07-04 15:22:42 +00:00
importer-handler-content-files Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
importer-revue Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
in-memory-repository Update dependency typescript to v5.1.6 2023-06-29 08:24:30 +02:00
job-manager Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
link-redirects Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
link-replacer Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
link-tracking Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
magic-link Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
mail-events Update dependency typescript to v5.1.6 2023-06-29 08:24:30 +02:00
mailgun-client Added bulkEmail.batchSize option to configure batch size 2023-06-26 12:57:44 +02:00
member-attribution Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
member-events Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
members-api Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
members-csv 🐛 Handled BOM character for Unicode encoded file uploads (#17104) 2023-06-23 08:31:16 +02:00
members-events-service Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
members-importer Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
members-ssr Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
mentions-email-report Update Test & linting packages 2023-04-05 15:16:08 +02:00
milestones Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
minifier Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
model-to-domain-event-interceptor Update dependency typescript to v5.1.6 2023-07-04 12:28:58 +02:00
mw-api-version-mismatch Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
mw-cache-control Update Test & linting packages 2023-04-05 15:16:08 +02:00
mw-error-handler Update dependency semver to v7.5.3 2023-06-23 07:08:38 +02:00
mw-session-from-token Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
mw-update-user-last-seen Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
mw-version-match Update dependency semver to v7.5.3 2023-06-23 07:08:38 +02:00
mw-vhost Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
oembed-service Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
offers Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
package-json Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
payments Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
post-revisions Update dependency typescript to v5.1.6 2023-06-29 08:24:30 +02:00
posts-service 🐛 Fixed newsletter post duplication (#17103) 2023-06-23 11:18:35 +01:00
referrers Update Test & linting packages 2023-04-05 15:16:08 +02:00
security Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
session-service Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
settings-path-manager Added consistent linting pattern to all packages 2023-06-13 10:43:29 +01:00
slack-notifications Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
staff-service Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
stats-service Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
stripe Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
tiers Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
update-check-service Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
verification-trigger Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
version-notifications-data-service Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
webmentions Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00