aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditordb')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index e392664b4..57c26aa38 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -265,11 +265,11 @@ postgres_create_tables (void *cls)
/* Table indicating up to which transactions the auditor has
processed the exchange database. Used for SELECTing the
statements to process. We basically trace the exchange's
- operations by the 5 primary tables: reserves_in,
- reserves_out, deposits, refresh_sessions and refunds. The
+ operations by the 6 primary tables: reserves_in,
+ reserves_out, deposits, refresh_sessions, refunds and prewire. The
other tables of the exchange DB just provide supporting
evidence which is checked alongside the audit of these
- five tables. The 5 indices below include the last serial
+ five tables. The 6 indices below include the last serial
ID from the respective tables that we have processed. Thus,
we need to select those table entries that are strictly
larger (and process in monotonically increasing order). */
@@ -280,6 +280,7 @@ postgres_create_tables (void *cls)
",last_deposit_serial_id INT8 NOT NULL"
",last_melt_serial_id INT8 NOT NULL"
",last_refund_serial_id INT8 NOT NULL"
+ ",last_prewire_serial_id INT8 NOT NULL"
")");
/* Table with all of the customer reserves and their respective