adjust encounter and general-consent relation

This commit is contained in:
dpurbosakti
2025-11-18 14:50:14 +07:00
parent 601bed3600
commit 572eb57e09
4 changed files with 9 additions and 6 deletions

No files matched your search

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