Files
simrsx-be/cmd/main-migration/migrations/20251102115856.sql
T
2025-11-02 18:59:30 +07:00

3 lines
256 B
SQL

-- 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;