aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0005-legitimization_measures.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-05-06 21:41:52 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:40 +0200
commit640f0a6186e4581d89b4616d4620ba7344d09ac1 (patch)
treebdb80da2612a066697ca8b71d001a04751a98e4d /src/exchangedb/0005-legitimization_measures.sql
parentceb2b95a60570d7cb4d97a683773a8c95530b3e6 (diff)
downloadexchange-640f0a6186e4581d89b4616d4620ba7344d09ac1.tar.xz
work on DD23
Diffstat (limited to 'src/exchangedb/0005-legitimization_measures.sql')
-rw-r--r--src/exchangedb/0005-legitimization_measures.sql4
1 files changed, 3 insertions, 1 deletions
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'