From 640f0a6186e4581d89b4616d4620ba7344d09ac1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 6 May 2024 21:41:52 +0200 Subject: work on DD23 --- src/exchangedb/0005-legitimization_measures.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/exchangedb/0005-legitimization_measures.sql') diff --git a/src/exchangedb/0005-legitimization_measures.sql b/src/exchangedb/0005-legitimization_measures.sql index e0d3f6ff0..c92ab2fb1 100644 --- a/src/exchangedb/0005-legitimization_measures.sql +++ b/src/exchangedb/0005-legitimization_measures.sql @@ -26,7 +26,7 @@ BEGIN '(legitimization_measure_serial_id INT8 GENERATED BY DEFAULT AS IDENTITY' ',target_token BYTEA NOT NULL CHECK (LENGTH(target_token)=32)' ',start_time INT8 NOT NULL' - ',jmeasures TEXT NOT NULL' + ',jmeasures TEXT NOT NULL' -- FIXME: rename to jrule? ',display_priority INT4 NOT NULL' ',is_finished BOOL NOT NULL DEFAULT(FALSE)' ') %s ;' @@ -57,6 +57,8 @@ BEGIN ,'legitimization_measures' ,partition_suffix ); + -- FIXME: LegitimizationMeasures is *bad* here, as we only have the KycRule; the specific measure may + -- not yet have been selected at the time of the trigger! PERFORM comment_partitioned_column( 'JSON object of type LegitimizationMeasures with KYC/AML measures for the account encoded' ,'jmeasures' -- cgit v1.2.3