11 lines
300 B
SQL
11 lines
300 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[id]` on the table `Post` will be added. If there are existing duplicate values, this will fail.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "Post" ADD COLUMN "id" SERIAL NOT NULL;
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "Post_id_key" ON "Post"("id");
|