Files
co-lite/openspec/changes/archive/2026-12-03-add-page-drafts-and-templates/sql/01-page-draft.sql
T

6 lines
368 B
SQL

-- Co-Lite change add-page-drafts-and-templates: a published page's unpublished draft.
-- Run before the new services-counter starts. DDL: needs a user that may alter tables.
USE `service-counter`;
ALTER TABLE `cms_page`
ADD COLUMN `draft` json NULL COMMENT 'Unpublished changes of a published page: slug, title, metaDescription, hideHeader, blocks' AFTER `blocks`;