rm -rf amount in db
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
2026-09-19 12:16:24 +05:00
parent 45378559ca
commit 87e4b33322
11 changed files with 48 additions and 35 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE payment_settings
DROP COLUMN IF EXISTS max_amount_usd;

View File

@@ -0,0 +1,7 @@
-- The max payable USD amount per visa/master/sber payout is now a single
-- admin-configurable limit (like tveb_fee_usd, converted to TMT at the
-- current rate in /quote and /pay) instead of a per-order value the client
-- supplied when creating the order - so an operator can no longer inflate
-- an individual order's own cap.
ALTER TABLE payment_settings
ADD COLUMN IF NOT EXISTS max_amount_usd numeric(12, 2) NOT NULL DEFAULT 250;