diff options
author | Nic Eigel <nic@eigel.ch> | 2024-08-28 21:31:58 +0200 |
---|---|---|
committer | Nic Eigel <nic@eigel.ch> | 2024-08-28 21:31:58 +0200 |
commit | ca41d6a906e63658fafb10056da2630b41229717 (patch) | |
tree | accfa7fd6b6a7e2251e59d2372f8e45831c13832 /src/auditordb/0002-auditor_pending_deposits.sql | |
parent | e3e66616622bc0e329b0cb374ab4a66f329c6a03 (diff) |
updated table creation files
Diffstat (limited to 'src/auditordb/0002-auditor_pending_deposits.sql')
-rw-r--r-- | src/auditordb/0002-auditor_pending_deposits.sql | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/auditordb/0002-auditor_pending_deposits.sql b/src/auditordb/0002-auditor_pending_deposits.sql index 5cef7bf8c..847885e48 100644 --- a/src/auditordb/0002-auditor_pending_deposits.sql +++ b/src/auditordb/0002-auditor_pending_deposits.sql @@ -17,9 +17,10 @@ CREATE TABLE IF NOT EXISTS auditor_pending_deposits ( row_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE PRIMARY KEY, - total_amount taler_amount, - wire_target_h_payto BYTEA, - batch_deposit_serial_id BIGINT, - deadline BIGINT, + problem_row_id BIGINT NOT NULL, + total_amount taler_amount NOT NULL, + wire_target_payto TEXT NOT NULL, + batch_deposit_serial_id BIGINT NOT NULL, + deadline BIGINT NOT NULL, suppressed BOOLEAN NOT NULL DEFAULT FALSE ); |