diff options
Diffstat (limited to 'src/exchangedb/0005-legitimization_measures.sql')
-rw-r--r-- | src/exchangedb/0005-legitimization_measures.sql | 4 |
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' |