aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/merchant-0002.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/merchant-0002.sql')
-rw-r--r--src/backenddb/merchant-0002.sql6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backenddb/merchant-0002.sql b/src/backenddb/merchant-0002.sql
index 447b705b..00053cf3 100644
--- a/src/backenddb/merchant-0002.sql
+++ b/src/backenddb/merchant-0002.sql
@@ -52,16 +52,13 @@ CREATE INDEX IF NOT EXISTS merchant_contract_terms_by_merchant_and_session
ALTER TABLE merchant_deposit_confirmations
ADD COLUMN wire_transfer_deadline INT8 DEFAULT (0) NOT NULL,
- ADD COLUMN retry_backoff INT8 DEFAULT (0) NOT NULL,
ADD COLUMN wire_pending BOOL DEFAULT (TRUE) NOT NULL,
ADD COLUMN exchange_failure TEXT DEFAULT NULL;
COMMENT ON COLUMN merchant_deposit_confirmations.wire_transfer_deadline
IS 'when should the exchange make the wire transfer at the latest';
-COMMENT ON COLUMN merchant_deposit_confirmations.retry_backoff
- IS 'exponentially increasing value we add to the wire_transfer_deadline on each failure to confirm the wire transfer';
COMMENT ON COLUMN merchant_deposit_confirmations.wire_pending
- IS 'true if we are awaiting wire details for a deposit of this purchase and are not blocked on KYC';
+ IS 'true if we are awaiting wire details for a deposit of this purchase (and are not blocked on KYC); false once the exchange says that the wire transfer has happened (does not mean that we confirmed it happened though)';
COMMENT ON COLUMN merchant_deposit_confirmations.exchange_failure
IS 'Text describing exchange failures in making timely wire transfers for this deposit confirmation';
@@ -74,7 +71,6 @@ CREATE INDEX IF NOT EXISTS merchant_deposits_by_deposit_confirmation_serial
ON merchant_deposits
(deposit_confirmation_serial);
-
-------------------------- Tokens -----------------------------
CREATE TABLE IF NOT EXISTS merchant_token_families