dcb-service-core-api/prisma/migrations/20251114011352_init/migration.sql
Mamadou Khoussa [028918 DSI/DAC/DIF/DS] 767201ec06 subscription management
2025-11-14 01:43:27 +00:00

14 lines
570 B
SQL

/*
Warnings:
- Changed the type of `merchantPartnerId` on the `User` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
- Added the required column `merchantPartnerId` to the `payments` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "User" DROP COLUMN "merchantPartnerId",
ADD COLUMN "merchantPartnerId" INTEGER NOT NULL;
-- AlterTable
ALTER TABLE "payments" ADD COLUMN "merchantPartnerId" INTEGER NOT NULL;