feat: add more quotation status

This commit is contained in:
Methapon Metanipat 2024-10-25 16:37:59 +07:00
parent f5df3332b5
commit 1e8453e99f
3 changed files with 32 additions and 11 deletions

View file

@ -0,0 +1,13 @@
-- AlterEnum
-- This migration adds more than one value to an enum.
-- With PostgreSQL versions 11 and earlier, this is not possible
-- in a single migration. This can be worked around by creating
-- multiple migrations, each migration adding only one value to
-- the enum.
ALTER TYPE "QuotationStatus" ADD VALUE 'Accepted';
ALTER TYPE "QuotationStatus" ADD VALUE 'Invoice';
-- AlterTable
ALTER TABLE "WorkProduct" ADD COLUMN "attributes" JSONB;