-- AlterTable: Agent (idempotent — safe if columns already exist from a previous db push)
DO $$ BEGIN
  ALTER TABLE "Agent" ADD COLUMN "scheduledTime" TEXT DEFAULT '08:00';
EXCEPTION WHEN duplicate_column THEN NULL;
END $$;

DO $$ BEGIN
  ALTER TABLE "Agent" ADD COLUMN "scheduledDay" INTEGER;
EXCEPTION WHEN duplicate_column THEN NULL;
END $$;

DO $$ BEGIN
  ALTER TABLE "Agent" ADD COLUMN "timezone" TEXT;
EXCEPTION WHEN duplicate_column THEN NULL;
END $$;
