aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-28 23:01:17 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-28 23:01:17 +0200
commitc52cf03172ec65cc5fc0435ec8877b4c50577a0c (patch)
tree5a8cb58089f16b0c471b0ea4e0ec05c8b34d8b6c
parentb4d8186cb1d34a44ea847712b83e581dd408622f (diff)
fix h_payto data type
-rw-r--r--src/auditordb/0002-auditor_pending_deposits.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auditordb/0002-auditor_pending_deposits.sql b/src/auditordb/0002-auditor_pending_deposits.sql
index 43b8b580e..4521bd3e4 100644
--- a/src/auditordb/0002-auditor_pending_deposits.sql
+++ b/src/auditordb/0002-auditor_pending_deposits.sql
@@ -18,7 +18,7 @@ CREATE TABLE IF NOT EXISTS auditor_pending_deposits
(
row_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE PRIMARY KEY,
total_amount taler_amount NOT NULL,
- wire_target_h_payto TEXT NOT NULL CHECK (LENGTH(wire_target_h_payto)=64),
+ wire_target_h_payto BYTEA NOT NULL CHECK (LENGTH(wire_target_h_payto)=32),
batch_deposit_serial_id BIGINT NOT NULL,
deadline BIGINT NOT NULL,
suppressed BOOLEAN NOT NULL DEFAULT FALSE