fix: relation

This commit is contained in:
Methapon Metanipat 2024-09-30 09:48:35 +07:00
parent e3464c4891
commit 9358cac3f8
3 changed files with 18 additions and 9 deletions

View file

@ -0,0 +1,11 @@
/*
Warnings:
- You are about to drop the column `customerId` on the `Quotation` table. All the data in the column will be lost.
*/
-- DropForeignKey
ALTER TABLE "Quotation" DROP CONSTRAINT "Quotation_customerId_fkey";
-- AlterTable
ALTER TABLE "Quotation" DROP COLUMN "customerId";