migration from server
This commit is contained in:
No files matched your search
@@ -1,17 +1,17 @@
|
||||
-- Create "ChemoProtocol" table
|
||||
CREATE TABLE "public"."ChemoProtocol" (
|
||||
"Id" bigserial NOT NULL,
|
||||
"CreatedAt" timestamptz NULL,
|
||||
"UpdatedAt" timestamptz NULL,
|
||||
"DeletedAt" timestamptz NULL,
|
||||
"Encounter_Id" bigint NULL,
|
||||
"Patient_Weight" numeric NULL,
|
||||
"Patient_Height" numeric NULL,
|
||||
"Diagnoses" text NULL,
|
||||
"Duration" bigint NULL,
|
||||
"DurationUnit_Code" character varying(10) NULL,
|
||||
"StartDate" timestamptz NULL,
|
||||
"EndDate" timestamptz NULL,
|
||||
PRIMARY KEY ("Id"),
|
||||
CONSTRAINT "fk_ChemoProtocol_Encounter" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION
|
||||
);
|
||||
-- Create "ChemoProtocol" table
|
||||
CREATE TABLE "public"."ChemoProtocol" (
|
||||
"Id" bigserial NOT NULL,
|
||||
"CreatedAt" timestamptz NULL,
|
||||
"UpdatedAt" timestamptz NULL,
|
||||
"DeletedAt" timestamptz NULL,
|
||||
"Encounter_Id" bigint NULL,
|
||||
"Patient_Weight" numeric NULL,
|
||||
"Patient_Height" numeric NULL,
|
||||
"Diagnoses" text NULL,
|
||||
"Duration" bigint NULL,
|
||||
"DurationUnit_Code" character varying(10) NULL,
|
||||
"StartDate" timestamptz NULL,
|
||||
"EndDate" timestamptz NULL,
|
||||
PRIMARY KEY ("Id"),
|
||||
CONSTRAINT "fk_ChemoProtocol_Encounter" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION
|
||||
);
|
||||
Reference in New Issue
Block a user