fix laborant table

This commit is contained in:
dpurbosakti
2025-09-04 12:01:54 +07:00
parent eda0454ad6
commit 850ff7615c
4 changed files with 15 additions and 11 deletions

No files matched your search

@@ -0,0 +1,2 @@
-- Modify "Laborant" table
ALTER TABLE "public"."Laborant" ALTER COLUMN "Id" TYPE bigint, DROP COLUMN "Code", DROP COLUMN "Name", DROP COLUMN "Parent_Id", ADD COLUMN "Employee_Id" bigint NULL, ADD COLUMN "IHS_Number" character varying(20) NULL, ADD CONSTRAINT "fk_Laborant_Employee" FOREIGN KEY ("Employee_Id") REFERENCES "public"."Employee" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION;