commit d55050652d02d925590c6ad25a0f358165893616
parent dc883f8556f34b324dd7677ab21c3d2840fd38a9
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 6 Oct 2017 21:31:07 +0200
BLOB is BYTEA in Postgres
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
@@ -232,8 +232,8 @@ postgres_create_tables (void *cls)
"(master_pub BYTEA PRIMARY KEY CHECK (LENGTH(master_pub)=32)"
",last_wire_reserve_in_serial_id INT8 NOT NULL DEFAULT 0"
",last_wire_reserve_out_serial_id INT8 NOT NULL DEFAULT 0"
- ",wire_in_off BLOB"
- ",wire_out_off BLOB"
+ ",wire_in_off BYTEA"
+ ",wire_out_off BYTEA"
")"),
/* Table with all of the customer reserves and their respective
balances that the auditor is aware of.