diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-04-22 15:39:02 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-04-22 15:39:02 +0200 |
commit | 12681dfa1a4bd2f156a1d1402afa8c0e3250f163 (patch) | |
tree | a960297eb068eab7a729ccfac6bbfea9199fbf2f /src/exchangedb/0003-withdraw_age_commitments.sql | |
parent | 37dd5bed20f829a885c0f86437bf5afb2f30b1d0 (diff) | |
download | exchange-12681dfa1a4bd2f156a1d1402afa8c0e3250f163.tar.xz |
WiP: age-withdraw, adjust schema and DB-handlers, cleanup FIXME's, 8/n
Diffstat (limited to 'src/exchangedb/0003-withdraw_age_commitments.sql')
-rw-r--r-- | src/exchangedb/0003-withdraw_age_commitments.sql | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/exchangedb/0003-withdraw_age_commitments.sql b/src/exchangedb/0003-withdraw_age_commitments.sql index 6c153598d..b8451129a 100644 --- a/src/exchangedb/0003-withdraw_age_commitments.sql +++ b/src/exchangedb/0003-withdraw_age_commitments.sql @@ -33,7 +33,6 @@ BEGIN ',reserve_pub BYTEA NOT NULL CHECK (LENGTH(reserve_pub)=32)' ',reserve_sig BYTEA CHECK (LENGTH(reserve_sig)=64)' ',noreveal_index INT4 NOT NULL' - ',timestamp INT8 NOT NULL' ') %s ;' ,table_name ,'PARTITION BY HASH (reserve_pub)' @@ -51,7 +50,7 @@ BEGIN ,partition_suffix ); PERFORM comment_partitioned_column( - 'The maximum age that the client commits to with this request' + 'The maximum age (in years) that the client commits to with this request' ,'max_age' ,table_name ,partition_suffix @@ -74,12 +73,6 @@ BEGIN ,table_name ,partition_suffix ); - PERFORM comment_partitioned_column( - 'Timestamp with the time when the withdraw-age request was received by the exchange' - ,'timestamp' - ,table_name - ,partition_suffix - ); END $$; |