Small migration scripts fixes
This commit is contained in:
parent
5c1f6a096b
commit
14f5f689f9
|
@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS public."ant_Annotation"
|
||||||
"created_at" timestamp without time zone NOT NULL,
|
"created_at" timestamp without time zone NOT NULL,
|
||||||
"updated_at" timestamp without time zone NOT NULL,
|
"updated_at" timestamp without time zone NOT NULL,
|
||||||
"is_active" smallint 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.');
|
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.055', '2024-02-20 12:00:00.000000+02', now(), 'Add table ant_Annotation.');
|
||||||
|
|
|
@ -14,9 +14,9 @@ CREATE TABLE IF NOT EXISTS public."ant_EntityUser"
|
||||||
"is_active" smallint NOT NULL,
|
"is_active" smallint NOT NULL,
|
||||||
CONSTRAINT "ant_EntityUser_pkey" PRIMARY KEY (id),
|
CONSTRAINT "ant_EntityUser_pkey" PRIMARY KEY (id),
|
||||||
CONSTRAINT "ant_EntityUser_user_fkey" FOREIGN KEY ("user_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 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.');
|
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.056', '2024-02-20 12:00:00.000000+02', now(), 'Add table ant_EntityUser.');
|
||||||
|
|
Loading…
Reference in New Issue