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.');