Working Database setupgit add .
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
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");
|
||||
Reference in New Issue
Block a user