Files
database/migrations/archive/000.044.sql
T
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

17 lines
387 B
SQL

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
);