commit c52cf03172ec65cc5fc0435ec8877b4c50577a0c
parent b4d8186cb1d34a44ea847712b83e581dd408622f
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 28 Aug 2024 23:01:17 +0200
fix h_payto data type
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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