adjust entity ambulatory and encounter

This commit is contained in:
vanilia
2025-11-02 18:59:30 +07:00
parent a70e53f6f6
commit 32b2b287aa
6 changed files with 13 additions and 27 deletions

No files matched your search

@@ -0,0 +1,2 @@
-- Modify "Ambulatory" table
ALTER TABLE "public"."Ambulatory" DROP CONSTRAINT "fk_Ambulatory_Encounter", ADD CONSTRAINT "fk_Encounter_Ambulatory" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION;