adjustment fileattachemnt to encounterDocument
This commit is contained in:
No files matched your search
@@ -0,0 +1,16 @@
|
||||
-- Create "EncounterDocument" table
|
||||
CREATE TABLE "public"."EncounterDocument" (
|
||||
"Id" bigserial NOT NULL,
|
||||
"CreatedAt" timestamptz NULL,
|
||||
"UpdatedAt" timestamptz NULL,
|
||||
"DeletedAt" timestamptz NULL,
|
||||
"Encounter_Id" bigint NULL,
|
||||
"Type_Code" text NULL,
|
||||
"Name" text NULL,
|
||||
"FilePath" text NULL,
|
||||
"FileName" text NULL,
|
||||
"Upload_Employee_Id" bigint NULL,
|
||||
PRIMARY KEY ("Id"),
|
||||
CONSTRAINT "fk_EncounterDocument_Upload_Employee" FOREIGN KEY ("Upload_Employee_Id") REFERENCES "public"."Employee" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION,
|
||||
CONSTRAINT "fk_Encounter_EncounterDocuments" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION
|
||||
);
|
||||
Reference in New Issue
Block a user