This commit is contained in:
Roba Boru
2026-07-20 15:50:29 +03:00
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
-- AlterTable
-- Widen PaymentIntent.amountMinor from integer to double precision so fractional
-- charge amounts (e.g. 1700.49 after ETB->DJF FX conversion) mirror the
-- edr_payment.payment_intent.amount_minor source of truth instead of truncating.
ALTER TABLE "passenger"."PaymentIntent" ALTER COLUMN "amountMinor" SET DATA TYPE DOUBLE PRECISION;