aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0002-aml_status.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/0002-aml_status.sql')
-rw-r--r--src/exchangedb/0002-aml_status.sql5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchangedb/0002-aml_status.sql b/src/exchangedb/0002-aml_status.sql
index f7b7e83b1..47e8d90c3 100644
--- a/src/exchangedb/0002-aml_status.sql
+++ b/src/exchangedb/0002-aml_status.sql
@@ -27,8 +27,7 @@ BEGIN
'CREATE TABLE IF NOT EXISTS %I'
'(aml_status_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY'
',h_payto BYTEA PRIMARY KEY CHECK (LENGTH(h_payto)=32)'
- ',threshold_val INT8 NOT NULL DEFAULT(0)'
- ',threshold_frac INT4 NOT NULL DEFAULT(0)'
+ ',threshold taler_amount NOT NULL DEFAULT(0,0)'
',status INT4 NOT NULL DEFAULT(0)'
',kyc_requirement INT8 NOT NULL DEFAULT(0)'
') %s ;'
@@ -49,7 +48,7 @@ BEGIN
);
PERFORM comment_partitioned_column(
'monthly inbound transaction limit below which we are OK (if status is 1)'
- ,'threshold_val'
+ ,'threshold'
,table_name
,partition_suffix
);