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
+16
View File
@@ -0,0 +1,16 @@
CREATE TABLE IF NOT EXISTS designer_texts
(
id serial PRIMARY KEY,
designerid integer NOT NULL
REFERENCES designers (designerid)
ON UPDATE CASCADE ON DELETE CASCADE,
locale_id integer NOT NULL
REFERENCES locales (id)
ON UPDATE CASCADE ON DELETE NO ACTION,
header character varying(250),
description text,
UNIQUE (designerid, locale_id)
)
WITH (
OIDS=FALSE
);