P5-3463 add support for poster category texts

This commit is contained in:
Martin
2019-01-30 14:34:35 +01:00
parent aafc46cb95
commit 4cf4f071da
+15
View File
@@ -0,0 +1,15 @@
-- P5-3463 add support for poster category texts
INSERT INTO categorydatakeys (name) VALUES
('poster_pagetitle'),
('poster_metadesc');
ALTER TABLE category_texts
ADD COLUMN poster_name VARCHAR(250),
ADD COLUMN poster_h1 VARCHAR(250),
ADD COLUMN poster_description TEXT;
-- populate with values from canvas
UPDATE category_texts SET poster_name = canvas_name, poster_h1 = canvas_h1, poster_description = '';