add doctor_id in control-letter

This commit is contained in:
dpurbosakti
2025-11-04 15:10:33 +07:00
parent 5ebd74ff5e
commit 98a567a5b3
3 changed files with 9 additions and 3 deletions

No files matched your search

@@ -0,0 +1,2 @@
-- Modify "ControlLetter" table
ALTER TABLE "public"."ControlLetter" ADD COLUMN "Doctor_Id" bigint NULL, ADD CONSTRAINT "fk_ControlLetter_Doctor" FOREIGN KEY ("Doctor_Id") REFERENCES "public"."Doctor" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION;