/*
  Warnings:

  - You are about to drop the column `telegramId` on the `User` table. All the data in the column will be lost.
  - A unique constraint covering the columns `[telegramUsername]` on the table `User` will be added. If there are existing duplicate values, this will fail.

*/
-- DropIndex
DROP INDEX `User_telegramId_key` ON `User`;

-- AlterTable
ALTER TABLE `User` DROP COLUMN `telegramId`;

-- CreateIndex
CREATE UNIQUE INDEX `User_telegramUsername_key` ON `User`(`telegramUsername`);
