/*
  Warnings:

  - You are about to drop the column `note` on the `user` table. All the data in the column will be lost.
  - You are about to drop the column `telegramUserId` on the `user` table. All the data in the column will be lost.
  - You are about to drop the `telegram_account` table. If the table is not empty, all the data it contains will be lost.

*/
-- DropForeignKey
ALTER TABLE "user" DROP CONSTRAINT "user_telegramUserId_fkey";

-- DropIndex
DROP INDEX "user_telegramUserId_key";

-- AlterTable
ALTER TABLE "user" DROP COLUMN "note",
DROP COLUMN "telegramUserId",
ADD COLUMN     "telegramId" TEXT,
ADD COLUMN     "telegramTag" TEXT;

-- DropTable
DROP TABLE "telegram_account";
