user/prisma/migrations/20221219145046_phone/migration.sql

9 lines
238 B
MySQL
Raw Permalink Normal View History

2022-12-21 15:15:57 +00:00
/*
Warnings:
- A unique constraint covering the columns `[phone]` on the table `user` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "user_phone_key" ON "user"("phone");