chore: add migration
This commit is contained in:
parent
1a72f9462b
commit
d4d0b455cc
1 changed files with 10 additions and 0 deletions
|
|
@ -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';
|
||||
Loading…
Add table
Add a link
Reference in a new issue