
------------------------------------
---------------------------------
-----inside package labs - For Received------
-----------------------------

ALTER TABLE "LabBookingPackageDetail"
ADD "CollectedSampleReceivedBy" integer Null;
ALTER TABLE "LabBookingPackageDetail"
ADD CONSTRAINT "FK_LabBookingPackageDetail_CollectedSampleReceivedBy" FOREIGN KEY ("CollectedSampleReceivedBy")
        REFERENCES public."Account" ("AccountId") MATCH SIMPLE
        ON UPDATE NO ACTION
        ON DELETE CASCADE;
------------------
ALTER TABLE "LabBookingPackageDetail"
ADD "SampleReceivedDate" timestamp without time zone;