Files
svidentity/prisma/migrations/20250124204816_fix_id/migration.sql
T

12 lines
387 B
SQL

/*
Warnings:
- The primary key for the `App` table will be changed. If it partially fails, the table could be left without primary key constraint.
- You are about to drop the column `id` on the `App` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "App" DROP CONSTRAINT "App_pkey",
DROP COLUMN "id",
ADD CONSTRAINT "App_pkey" PRIMARY KEY ("domain");