9 lines
277 B
SQL
9 lines
277 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[dealId,userId]` on the table `DealVote` will be added. If there are existing duplicate values, this will fail.
|
|
|
|
*/
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "DealVote_dealId_userId_key" ON "DealVote"("dealId", "userId");
|