aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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