mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-08 21:50:13 +02:00
12 lines
568 B
SQL
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");
|