ALTER TABLE ONLY public."Appointment" ALTER COLUMN "QueueStatusId" SET DEFAULT 7;

ALTER TABLE public."Appointment"
    ADD COLUMN "QueueStartDate" timestamp without time zone;

ALTER TABLE public."Appointment"
    ADD COLUMN "QueueEndDate" timestamp without time zone;

UPDATE "Appointment" SET "QueueStatusId" = 7;