ALTER TABLE "AppointmentLog"
ADD COLUMN "AppointmentTypeId" integer,
ADD CONSTRAINT "FK_AppointmentLog_AppointmentTypeId" FOREIGN KEY ("AppointmentTypeId")
        REFERENCES public."AppointmentType" ("AppointmentTypeId") MATCH SIMPLE
        ON UPDATE NO ACTION
        ON DELETE CASCADE