Files
psp_api/prisma/migrations/20251227131204_update/migration.sql
T

15 lines
487 B
SQL
Raw Normal View History

/*
Warnings:
- You are about to drop the column `inventoryId` on the `Purchase_Receipt_Payments` table. All the data in the column will be lost.
*/
-- DropForeignKey
ALTER TABLE `Purchase_Receipt_Payments` DROP FOREIGN KEY `Purchase_Receipt_Payments_inventoryId_bankAccountId_fkey`;
-- DropIndex
DROP INDEX `Purchase_Receipt_Payments_inventoryId_bankAccountId_fkey` ON `Purchase_Receipt_Payments`;
-- AlterTable
ALTER TABLE `Purchase_Receipt_Payments` DROP COLUMN `inventoryId`;