16 lines
432 B
SQL
16 lines
432 B
SQL
-- 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 = '';
|