P5-4259 add support for framed-print category texts

This commit is contained in:
Martin
2019-09-30 17:53:54 +02:00
parent f91a3fdae3
commit 367d166217
+18
View File
@@ -0,0 +1,18 @@
-- P5-4259 add support for framed-print category texts
INSERT INTO categorydatakeys (name) VALUES
('framed_print_pagetitle'),
('framed_print_metadesc');
ALTER TABLE category_texts
ADD COLUMN framed_print_name VARCHAR(250),
ADD COLUMN framed_print_h1 VARCHAR(250),
ADD COLUMN framed_print_description TEXT;
-- populate with values from canvas
UPDATE category_texts SET
framed_print_name = canvas_name,
framed_print_h1 = canvas_h1,
framed_print_description = '';