/* 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`;