From 02d8132f3d7f1dcb0813d48d7d1b5c90dff3b080 Mon Sep 17 00:00:00 2001 From: Thomas Georgios Giannos Date: Thu, 2 Nov 2023 17:55:34 +0200 Subject: [PATCH] Fix on new DmpDescriptionTemplate table --- .../updates/00.01.012_Add_Dmp_description_template_table.sql | 3 +++ 1 file changed, 3 insertions(+) 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),