Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
chore: add missing migrations for recently added currencies (#4760)
Sanchith Hegde1026f4783000
diff --git a/migrations/2024-05-24-093318_add_more_currencies/down.sql b/migrations/2024-05-24-093318_add_more_currencies/down.sqlnew file mode 100644index 0000000000..e0ac49d1ec--- /dev/null+++ b/migrations/2024-05-24-093318_add_more_currencies/down.sql@@ -0,0 +1 @@+SELECT 1;diff --git a/migrations/2024-05-24-093318_add_more_currencies/up.sql b/migrations/2024-05-24-093318_add_more_currencies/up.sqlnew file mode 100644index 0000000000..bc93f04788--- /dev/null+++ b/migrations/2024-05-24-093318_add_more_currencies/up.sql@@ -0,0 +1,25 @@+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'AOA';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'BAM';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'BGN';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'BYN';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'CVE';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'FKP';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'GEL';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'IQD';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'LYD';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'MRU';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'MZN';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'PAB';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'RSD';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'SBD';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'SHP';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'SLE';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'SRD';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'STN';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'TND';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'TOP';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'UAH';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'VES';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'WST';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'XCD';+ALTER TYPE "Currency" ADD VALUE IF NOT EXISTS 'ZMW';