gluestick/prisma/migrations/20230427033108_make_username_unique/migration.sql

9 lines
247 B
MySQL
Raw Normal View History

2023-04-26 23:32:52 -04:00
/*
Warnings:
- A unique constraint covering the columns `[username]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "User_username_key" ON "User"("username");