text: /*
    Warnings:
  
    - The primary key for the `User` table will be changed. If it partially fails, the table could be left without primary key constraint.
    - You are about to drop the column `displayName` on the `User` table. All the data in the column will be lost.
    - You are about to drop the column `username` on the `User` table. All the data in the column will be lost.
    - A unique constraint covering the columns `[email]` on the table `User` will be added. If there are existing duplicate values, this will fail.
    - Added the required column `email` to the `User` table without a default value. This is not possible if the table is not empty.
    - The required column `id` was added to the `User` table with a prisma-level default value. This is not possible if the table is not empty. Please add this column as optional, then populate it before making it required.
    - Added the required column `name` to the `User` table without a default value. This is not possible if the table is not empty.
    - Added the required column `updateAt` to the `User` table without a default value. This is not possible if the table is not empty.
  
  */
  -- AlterTable
  ALTER TABLE "User" DROP CONSTRAINT "User_pkey",
  DROP COLUMN "displayName",
  DROP COLUMN "username",
  ADD COLUMN     "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  ADD COLUMN     "email" TEXT NOT NULL,
  ADD COLUMN     "id" TEXT NOT NULL,
  ADD COLUMN     "name" TEXT NOT NULL,
  ADD COLUMN     "role" TEXT NOT NULL DEFAULT E'USER',
  ADD COLUMN     "status" BOOLEAN NOT NULL DEFAULT true,
  ADD COLUMN     "updateAt" TIMESTAMP(3) NOT NULL,
  ADD CONSTRAINT "User_pkey" PRIMARY KEY ("id");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
  