chore: add migration

This commit is contained in:
Methapon Metanipat 2024-10-24 10:40:30 +07:00
parent 1a72f9462b
commit d4d0b455cc

View file

@ -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 "PaymentStatus" ADD VALUE 'PaymentInProcess';
ALTER TYPE "PaymentStatus" ADD VALUE 'PaymentRetry';