migration fix
This commit is contained in:
parent
534b6c436d
commit
b8e9d7d4c0
1 changed files with 11 additions and 0 deletions
11
prisma/migrations/20230724154656_ids/migration.sql
Normal file
11
prisma/migrations/20230724154656_ids/migration.sql
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
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");
|
Loading…
Reference in a new issue