We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 232e9cf commit 8e6828dCopy full SHA for 8e6828d
prisma/migrations/20250506093230_new_payment_status/migration.sql
@@ -0,0 +1,10 @@
1
+-- AlterEnum
2
+-- This migration adds more than one value to an enum.
3
+-- With PostgreSQL versions 11 and earlier, this is not possible
4
+-- in a single migration. This can be worked around by creating
5
+-- multiple migrations, each migration adding only one value to
6
+-- the enum.
7
+
8
9
+ALTER TYPE "payment_status" ADD VALUE 'FAILED';
10
+ALTER TYPE "payment_status" ADD VALUE 'RETURNED';
prisma/schema.prisma
@@ -241,6 +241,8 @@ enum payment_status {
241
OWED
242
PROCESSING
243
CANCELLED
244
+ FAILED
245
+ RETURNED
246
}
247
248
enum reference_type {
0 commit comments