summaryrefslogtreecommitdiff
path: root/src/backenddb
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2023-02-21 05:02:31 -0500
committerpriscilla <priscilla.huang@efrei.net>2023-02-21 05:02:31 -0500
commit28a63d95d33873018ec347cf48f2cf1784c8b92e (patch)
tree8745cfbba70ac8319ee6e4870f876ca0fff05671 /src/backenddb
parentdf0816296129012b76d8e4ee2608969af1240abc (diff)
downloadmerchant-28a63d95d33873018ec347cf48f2cf1784c8b92e.tar.gz
merchant-28a63d95d33873018ec347cf48f2cf1784c8b92e.tar.bz2
merchant-28a63d95d33873018ec347cf48f2cf1784c8b92e.zip
pos_key in template is set. Test case is also good
Diffstat (limited to 'src/backenddb')
-rw-r--r--src/backenddb/merchant-0004.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/backenddb/merchant-0004.sql b/src/backenddb/merchant-0004.sql
index 3864f37d..696e60fc 100644
--- a/src/backenddb/merchant-0004.sql
+++ b/src/backenddb/merchant-0004.sql
@@ -106,6 +106,7 @@ COMMENT ON COLUMN merchant_pending_webhooks.body
IS 'Body of the webhook';
+
ALTER TABLE merchant_kyc
ADD COLUMN aml_decision INT4 NOT NULL DEFAULT (0);
@@ -113,6 +114,22 @@ COMMENT ON COLUMN merchant_kyc.aml_decision
IS 'current AML decision for our account at the exchange';
+
+ALTER TABLE merchant_orders
+ ADD COLUMN pos_key VARCHAR;
+
+COMMENT ON COLUMN merchant_orders.pos_key
+ IS 'encoded based key which is used for the verification of payment';
+
+
+
+ALTER TABLE merchant_contract_terms
+ ADD COLUMN pos_key VARCHAR;
+
+COMMENT ON COLUMN merchant_contract_terms.pos_key
+ IS 'enconded based key which is used for the verification of payment';
+
+
COMMIT;