Skip to content

Commit

Permalink
improvement: add czk and lkr currency
Browse files Browse the repository at this point in the history
  • Loading branch information
DonKoko committed Sep 3, 2024
1 parent 9b2227b commit 22d1012
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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';
4 changes: 3 additions & 1 deletion app/database/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -577,7 +580,6 @@ enum Currency {
SAR // Saudi Riyal
AED // United Arab Emirates Dirham
PLN // Polish Zloty
IDR // Indonesian Rupiah
}

enum InviteStatuses {
Expand Down

0 comments on commit 22d1012

Please sign in to comment.