12 lines
361 B
SQL
12 lines
361 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[userId,category,className]` on the table `Class` will be added. If there are existing duplicate values, this will fail.
|
|
|
|
*/
|
|
-- DropIndex
|
|
DROP INDEX "Class_userId_category_key";
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "Class_userId_category_className_key" ON "Class"("userId", "category", "className");
|