/*
  Warnings:

  - Added the required column `actorName` to the `Quotation` table without a default value. This is not possible if the table is not empty.
  - Added the required column `contactName` to the `Quotation` table without a default value. This is not possible if the table is not empty.
  - Added the required column `contactTel` to the `Quotation` table without a default value. This is not possible if the table is not empty.
  - Added the required column `documentReceivePoint` to the `Quotation` table without a default value. This is not possible if the table is not empty.
  - Added the required column `dueDate` to the `Quotation` table without a default value. This is not possible if the table is not empty.
  - Added the required column `workName` to the `Quotation` table without a default value. This is not possible if the table is not empty.

*/
-- DropForeignKey
ALTER TABLE "Quotation" DROP CONSTRAINT "Quotation_customerId_fkey";

-- AlterTable
ALTER TABLE "Quotation" ADD COLUMN     "actorName" TEXT NOT NULL,
ADD COLUMN     "contactName" TEXT NOT NULL,
ADD COLUMN     "contactTel" TEXT NOT NULL,
ADD COLUMN     "documentReceivePoint" TEXT NOT NULL,
ADD COLUMN     "dueDate" DATE NOT NULL,
ADD COLUMN     "workName" TEXT NOT NULL,
ALTER COLUMN "customerId" DROP NOT NULL;

-- AddForeignKey
ALTER TABLE "Quotation" ADD CONSTRAINT "Quotation_customerId_fkey" FOREIGN KEY ("customerId") REFERENCES "Customer"("id") ON DELETE SET NULL ON UPDATE CASCADE;
