
ALTER TABLE "LabServices" 
   ADD COLUMN IF NOT EXISTS "LabMainDetailId" integer; 

ALTER TABLE "LabServices" 
    ADD CONSTRAINT "FK_LabServices_LabMainDetailId" FOREIGN KEY ("LabMainDetailId") REFERENCES "LabMainDetail" ("LabMainDetailId");


ALTER TABLE "NewLabBookingHeader" 
   ADD COLUMN IF NOT EXISTS "AdmissionId" integer; 



insert into "LabBookingStatus" ("Status","Active")
values('SampleVerified',true),('SampleRejected',true);