ALTER TABLE "TelegramUser"
ADD COLUMN "phoneNumber" TEXT,
ADD COLUMN "botStartedAt" TIMESTAMP(3),
ADD COLUMN "lastBotInteractionAt" TIMESTAMP(3),
ADD COLUMN "personalDataConsentAt" TIMESTAMP(3),
ADD COLUMN "personalDataConsentVersion" TEXT;

CREATE INDEX "TelegramUser_botStartedAt_idx"
ON "TelegramUser"("botStartedAt");

CREATE INDEX "TelegramUser_personalDataConsentAt_idx"
ON "TelegramUser"("personalDataConsentAt");
