diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-11 16:43:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-11 16:43:22 +0100 |
commit | af06ddc8e833d6f4bbfd49585a750227b05c056d (patch) | |
tree | 2934a0e9b5263e1cb7be0f960a6beec0ccd43964 /src/exchangedb/0002-legitimization_processes.sql | |
parent | ce43a23ddd61fa1f1a91f8ba597bc88019d3b66c (diff) | |
download | exchange-af06ddc8e833d6f4bbfd49585a750227b05c056d.tar.xz |
-add a few missing indices/foreign key constraints
Diffstat (limited to 'src/exchangedb/0002-legitimization_processes.sql')
-rw-r--r-- | src/exchangedb/0002-legitimization_processes.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/0002-legitimization_processes.sql b/src/exchangedb/0002-legitimization_processes.sql index 6248da1f0..4544a02ea 100644 --- a/src/exchangedb/0002-legitimization_processes.sql +++ b/src/exchangedb/0002-legitimization_processes.sql @@ -23,7 +23,7 @@ AS $$ BEGIN PERFORM create_partitioned_table( 'CREATE TABLE %I' - '(legitimization_process_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY' -- UNIQUE' + '(legitimization_process_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY' ',h_payto BYTEA NOT NULL CHECK (LENGTH(h_payto)=32)' ',expiration_time INT8 NOT NULL DEFAULT (0)' ',provider_section VARCHAR NOT NULL' |