From e8943b019c506cdea4f00dbafe2145cf81424c60 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 6 Nov 2021 19:59:54 +0100 Subject: sql fix --- src/auditordb/plugin_auditordb_postgres.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 1a2e86c21..0f4cdbddf 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -188,6 +188,7 @@ setup_connection (struct PostgresClosure *pg) "INSERT INTO deposit_confirmations " "(master_pub" ",h_contract_terms" + ",h_extensions" ",h_wire" ",exchange_timestamp" ",wire_deadline" @@ -199,8 +200,8 @@ setup_connection (struct PostgresClosure *pg) ",exchange_sig" ",exchange_pub" ",master_sig" /* master_sig could be normalized... */ - ") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);", - 13), + ") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14);", + 14), /* Used in #postgres_get_deposit_confirmations() */ GNUNET_PQ_make_prepare ("auditor_deposit_confirmation_select", "SELECT" -- cgit v1.2.3