chore: migration

This commit is contained in:
Methapon Metanipat 2024-11-18 09:18:44 +07:00
parent 68f1ec2335
commit 9d79953365

View file

@ -0,0 +1,14 @@
-- 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 "RequestWorkStatus" ADD VALUE 'Ready';
ALTER TYPE "RequestWorkStatus" ADD VALUE 'Waiting';
ALTER TYPE "RequestWorkStatus" ADD VALUE 'Ended';
-- AlterTable
ALTER TABLE "QuotationProductServiceList" ADD COLUMN "attributes" JSONB;