summaryrefslogtreecommitdiff
path: root/src/auditordb/plugin_auditordb_postgres.c
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2016-11-03 21:43:09 +0100
committertg(x) <*@tg-x.net>2016-11-03 21:43:09 +0100
commit176bd57550fae5f6cb97bd3a742aa2b75c27036c (patch)
tree3671c123daf26a9a8f4a1fa9ffc787bb22f06827 /src/auditordb/plugin_auditordb_postgres.c
parent20a8a569ad334174ca251a4cebc995d14bcbdb11 (diff)
downloadexchange-176bd57550fae5f6cb97bd3a742aa2b75c27036c.tar.gz
exchange-176bd57550fae5f6cb97bd3a742aa2b75c27036c.tar.bz2
exchange-176bd57550fae5f6cb97bd3a742aa2b75c27036c.zip
auditordb postgres plugin: fix index
Diffstat (limited to 'src/auditordb/plugin_auditordb_postgres.c')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index d0cadbb7f..ad0b89ca9 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -435,8 +435,8 @@ postgres_create_tables (void *cls)
",reserve_profits_curr VARCHAR("TALER_CURRENCY_LEN_STR") NOT NULL"
")");
- SQLEXEC_INDEX("CREATE INDEX historic_reserve_summary_by_master_pub_start_date"
- " ON historic_ledger(master_pub,start_date)");
+ SQLEXEC_INDEX("CREATE INDEX historic_reserve_summary_by_master_pub_start_date "
+ "ON historic_reserve_summary(master_pub,start_date)");
/* Table with historic business ledger; basically, when the exchange