diff --git a/app/database/migrations/20240903094636_add_czk_and_lkr_currencies/migration.sql b/app/database/migrations/20240903094636_add_czk_and_lkr_currencies/migration.sql new file mode 100644 index 000000000..f6b32cf2e --- /dev/null +++ b/app/database/migrations/20240903094636_add_czk_and_lkr_currencies/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 "Currency" ADD VALUE 'CZK'; +ALTER TYPE "Currency" ADD VALUE 'LKR'; diff --git a/app/database/schema.prisma b/app/database/schema.prisma index 8c8711ba7..330551ac2 100644 --- a/app/database/schema.prisma +++ b/app/database/schema.prisma @@ -561,10 +561,13 @@ enum Currency { CAD // Canadian Dollar CHF // Swiss Franc CNY // Chinese Yuan + CZK // Czech Koruna DKK // Danish Krone INR // Indian Rupee + IDR // Indonesian Rupiah ZAR // South African Rand BRL // Brazilian Real + LKR // Sri Lankan Rupee MYR // Malaysian Ringgit MXN // Mexican Peso SGD // Singapore Dollar @@ -577,7 +580,6 @@ enum Currency { SAR // Saudi Riyal AED // United Arab Emirates Dirham PLN // Polish Zloty - IDR // Indonesian Rupiah } enum InviteStatuses {