jws-backend/prisma/migrations/20241118021829_add_dynamic_attributes_field/migration.sql
Methapon Metanipat 9d79953365 chore: migration
2024-11-18 09:18:44 +07:00

14 lines
520 B
SQL

-- 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;