From 14f5f689f970d56cc6f3108233dfea45b928e9d5 Mon Sep 17 00:00:00 2001 From: Thomas Georgios Giannos Date: Wed, 21 Feb 2024 18:00:25 +0200 Subject: [PATCH] Small migration scripts fixes --- dmp-db-scema/updates/00.01.055_Add_ant_Annotation_table.sql | 2 +- dmp-db-scema/updates/00.01.056_Add_ant_EntityUser_table.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dmp-db-scema/updates/00.01.055_Add_ant_Annotation_table.sql b/dmp-db-scema/updates/00.01.055_Add_ant_Annotation_table.sql index b0472de17..75ce5e407 100644 --- a/dmp-db-scema/updates/00.01.055_Add_ant_Annotation_table.sql +++ b/dmp-db-scema/updates/00.01.055_Add_ant_Annotation_table.sql @@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS public."ant_Annotation" "created_at" timestamp without time zone NOT NULL, "updated_at" timestamp without time zone NOT NULL, "is_active" smallint NOT NULL, - CONSTRAINT "ant_Annotation_pkey" PRIMARY KEY (id), + CONSTRAINT "ant_Annotation_pkey" PRIMARY KEY (id) ); INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.055', '2024-02-20 12:00:00.000000+02', now(), 'Add table ant_Annotation.'); diff --git a/dmp-db-scema/updates/00.01.056_Add_ant_EntityUser_table.sql b/dmp-db-scema/updates/00.01.056_Add_ant_EntityUser_table.sql index 91d00554b..708d3d646 100644 --- a/dmp-db-scema/updates/00.01.056_Add_ant_EntityUser_table.sql +++ b/dmp-db-scema/updates/00.01.056_Add_ant_EntityUser_table.sql @@ -14,9 +14,9 @@ CREATE TABLE IF NOT EXISTS public."ant_EntityUser" "is_active" smallint NOT NULL, CONSTRAINT "ant_EntityUser_pkey" PRIMARY KEY (id), CONSTRAINT "ant_EntityUser_user_fkey" FOREIGN KEY ("user_id") - REFERENCES public."ant_user" (id) MATCH SIMPLE + REFERENCES public."ant_User" (id) MATCH SIMPLE ON UPDATE NO ACTION - ON DELETE NO ACTION, + ON DELETE NO ACTION ); INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.056', '2024-02-20 12:00:00.000000+02', now(), 'Add table ant_EntityUser.');