diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-29 10:10:11 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-29 10:10:11 +0100 |
commit | 5828eead705965b5ac87cfad78636b1363b16396 (patch) | |
tree | 488da922fde5c327e897fe38660b6d5a325c9d56 /src/exchangedb/0003-aml_history.sql | |
parent | f864d66d930690449e855d0a7aa0b146174f4388 (diff) | |
download | exchange-5828eead705965b5ac87cfad78636b1363b16396.tar.xz |
-fix SQL
Diffstat (limited to 'src/exchangedb/0003-aml_history.sql')
-rw-r--r-- | src/exchangedb/0003-aml_history.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/0003-aml_history.sql b/src/exchangedb/0003-aml_history.sql index 2d6298ed8..009f79d89 100644 --- a/src/exchangedb/0003-aml_history.sql +++ b/src/exchangedb/0003-aml_history.sql @@ -32,8 +32,8 @@ BEGIN ',new_status INT4 NOT NULL DEFAULT(0)' ',decision_time INT8 NOT NULL DEFAULT(0)' ',justification VARCHAR NOT NULL' - ',decider_pub BYTEA PRIMARY KEY CHECK (LENGTH(decider_pub)=32)' - ',decider_sig BYTEA PRIMARY KEY CHECK (LENGTH(decider_sig)=64)' + ',decider_pub BYTEA CHECK (LENGTH(decider_pub)=32)' + ',decider_sig BYTEA CHECK (LENGTH(decider_sig)=64)' ') %s ;' ,table_name ,'PARTITION BY HASH (h_payto)' |