Files
co-lite/openspec/changes/add-page-drafts-and-templates/sql/99-rollback.sql
T

5 lines
289 B
SQL

-- Co-Lite change add-page-drafts-and-templates: rollback. Dropping the column loses every unpublished draft:
-- publish or note them first. Then deploy the previous services-counter, which saves published pages directly.
USE `service-counter`;
ALTER TABLE `cms_page` DROP COLUMN `draft`;