2024-06-06 16:31:31 +02:00

12 lines
568 B
SQL

/*
Warnings:
- The primary key for the `UserHasCrypto` table will be changed. If it partially fails, the table could be left without primary key constraint.
- The required column `id` was added to the `UserHasCrypto` table with a prisma-level default value. This is not possible if the table is not empty. Please add this column as optional, then populate it before making it required.
*/
-- AlterTable
ALTER TABLE "UserHasCrypto" DROP CONSTRAINT "UserHasCrypto_pkey",
ADD COLUMN "id" TEXT NOT NULL,
ADD CONSTRAINT "UserHasCrypto_pkey" PRIMARY KEY ("id");