diff --git a/dmp-db-scema/updates/00.01.012_Add_Dmp_description_template_table.sql b/dmp-db-scema/updates/00.01.012_Add_Dmp_description_template_table.sql index e3fca8b5f..2a5f6e5b6 100644 --- a/dmp-db-scema/updates/00.01.012_Add_Dmp_description_template_table.sql +++ b/dmp-db-scema/updates/00.01.012_Add_Dmp_description_template_table.sql @@ -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),