summaryrefslogtreecommitdiff
path: root/src/exchangedb/exchange-0001.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-07 20:22:02 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-19 01:05:58 +0200
commit7217b8d06549c23558732c0e2e53af5045eef1e1 (patch)
tree2e0f9e4a077098a0babebb2b79530c189cbc8278 /src/exchangedb/exchange-0001.sql
parent0dfe7c23cb051003ec36707b78010132b577a180 (diff)
downloadexchange-7217b8d06549c23558732c0e2e53af5045eef1e1.tar.gz
exchange-7217b8d06549c23558732c0e2e53af5045eef1e1.tar.bz2
exchange-7217b8d06549c23558732c0e2e53af5045eef1e1.zip
towards changing timestamp in deposit confirmation (tests failing)
Diffstat (limited to 'src/exchangedb/exchange-0001.sql')
-rw-r--r--src/exchangedb/exchange-0001.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchangedb/exchange-0001.sql b/src/exchangedb/exchange-0001.sql
index bec9af5ba..ad05e7797 100644
--- a/src/exchangedb/exchange-0001.sql
+++ b/src/exchangedb/exchange-0001.sql
@@ -254,7 +254,8 @@ CREATE TABLE IF NOT EXISTS deposits
,coin_pub BYTEA NOT NULL REFERENCES known_coins (coin_pub) ON DELETE CASCADE
,amount_with_fee_val INT8 NOT NULL
,amount_with_fee_frac INT4 NOT NULL
- ,timestamp INT8 NOT NULL
+ ,wallet_timestamp INT8 NOT NULL
+ ,exchange_timestamp INT8 NOT NULL
,refund_deadline INT8 NOT NULL
,wire_deadline INT8 NOT NULL
,merchant_pub BYTEA NOT NULL CHECK (LENGTH(merchant_pub)=32)