Fix on new DmpDescriptionTemplate table
This commit is contained in:
parent
281475bb85
commit
02d8132f3d
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue