12 lines
300 B
MySQL
12 lines
300 B
MySQL
|
/*
|
||
|
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");
|