From 97c9adc08ba9809f78d91f423b4f6f7f0e66a7d1 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:43:03 +0700 Subject: [PATCH] chore: migration --- prisma/migrations/20241204074243_update/migration.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 prisma/migrations/20241204074243_update/migration.sql diff --git a/prisma/migrations/20241204074243_update/migration.sql b/prisma/migrations/20241204074243_update/migration.sql new file mode 100644 index 0000000..f176221 --- /dev/null +++ b/prisma/migrations/20241204074243_update/migration.sql @@ -0,0 +1,10 @@ +-- 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 'Redo'; +ALTER TYPE "RequestWorkStatus" ADD VALUE 'Canceled';