Files

13 lines
468 B
SQL

/*
Warnings:
- The primary key for the `Project` table will be changed. If it partially fails, the table could be left without primary key constraint.
- The `id` column on the `Project` table would be dropped and recreated. This will lead to data loss if there is data in the column.
*/
-- AlterTable
ALTER TABLE "Project" DROP CONSTRAINT "Project_pkey",
DROP COLUMN "id",
ADD COLUMN "id" SERIAL NOT NULL,
ADD CONSTRAINT "Project_pkey" PRIMARY KEY ("id");