add medicine code on medication related

This commit is contained in:
dpurbosakti
2025-11-11 15:02:41 +07:00
parent bdc441b8f9
commit 75bce77a39
9 changed files with 29 additions and 12 deletions
@@ -0,0 +1,10 @@
-- Modify "Medication" table
ALTER TABLE "public"."Medication" ADD COLUMN "Pharmacist_Code" text NULL;
-- Modify "MedicationItem" table
ALTER TABLE "public"."MedicationItem" ADD COLUMN "Medicine_Code" text NULL;
-- Modify "MedicationItemDist" table
ALTER TABLE "public"."MedicationItemDist" ADD COLUMN "Nurse_Code" text NULL;
-- Modify "MedicineMixItem" table
ALTER TABLE "public"."MedicineMixItem" ADD COLUMN "Medicine_Code" text NULL;
-- Modify "PrescriptionItem" table
ALTER TABLE "public"."PrescriptionItem" ADD COLUMN "Medicine_Code" text NULL;