gluestick/prisma/migrations/20230427033108_make_username_unique/migration.sql
2023-04-26 20:32:52 -07:00

8 lines
247 B
SQL

/*
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");