Update proclamation category naming constraints.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- A unique constraint covering the columns `[parentId,name]` on the table `ProclamationCategory` will be added. If there are existing duplicate values, this will fail.
|
||||
|
||||
*/
|
||||
-- DropIndex
|
||||
DROP INDEX "ProclamationCategory_name_key";
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "ProclamationCategory_parentId_name_key" ON "ProclamationCategory"("parentId", "name");
|
||||
Reference in New Issue
Block a user