Fix on new DmpDescriptionTemplate table

This commit is contained in:
Thomas Georgios Giannos 2023-11-02 17:55:34 +02:00
parent 281475bb85
commit 02d8132f3d
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ CREATE TABLE IF NOT EXISTS public."DmpDescriptionTemplate"
"dmp" uuid NOT NULL,
"description_template" uuid NOT NULL,
"data" text COLLATE pg_catalog."default" NOT NULL,
"created_at" timestamp without time zone NOT NULL DEFAULT now(),
"updated_at" timestamp without time zone NOT NULL DEFAULT now(),
"is_active" smallint NOT NULL DEFAULT 1,
CONSTRAINT id PRIMARY KEY (id),
CONSTRAINT "DmpDescriptionTemplate_dmp_fkey" FOREIGN KEY (dmp)
REFERENCES public."Dmp" (id),