kidshift-be/prisma/migrations/20240616122115_make_email_unique/migration.sql

9 lines
238 B
MySQL
Raw Normal View History

2024-06-16 12:22:21 +00:00
/*
Warnings:
- A unique constraint covering the columns `[email]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");