13 lines
454 B
SQL
13 lines
454 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[name]` on the table `User` will be added. If there are existing duplicate values, this will fail.
|
|
- 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_name_key` ON `User`(`name`);
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX `User_email_key` ON `User`(`email`);
|