/*
  Warnings:

  - You are about to alter the column `role` on the `User` table. The data in that column could be lost. The data in that column will be cast from `VarChar(191)` to `Enum(EnumId(0))`.
  - A unique constraint covering the columns `[phone]` on the table `User` will be added. If there are existing duplicate values, this will fail.

*/
-- AlterTable
ALTER TABLE `User` ADD COLUMN `phone` VARCHAR(191) NULL,
    MODIFY `role` ENUM('public', 'admin', 'superadmin', 'talent') NOT NULL DEFAULT 'public';

-- CreateIndex
CREATE UNIQUE INDEX `User_phone_key` ON `User`(`phone`);
