Archive old migrations (#426)

* Archive old migrations

* Fix invalid placement of migrations
This commit is contained in:
Rikard Bartholf
2024-10-17 11:19:12 +02:00
committed by GitHub
parent 763262c108
commit ddcbd0afb0
500 changed files with 0 additions and 0 deletions
+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 = '';