migration.sql
658 Bytes
/*
Warnings:
- A unique constraint covering the columns `[id]` on the table `Comment` will be added. If there are existing duplicate values, this will fail.
- A unique constraint covering the columns `[id]` on the table `Post` will be added. If there are existing duplicate values, this will fail.
- A unique constraint covering the columns `[id]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "Comment_id_key" ON "Comment"("id");
-- CreateIndex
CREATE UNIQUE INDEX "Post_id_key" ON "Post"("id");
-- CreateIndex
CREATE UNIQUE INDEX "User_id_key" ON "User"("id");