14 lines
570 B
SQL
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;
|