Fix auditordb.
Include (forgotten) table within the "drop_tables()" command.
This commit is contained in:
parent
672a76e9e3
commit
d36700ed98
@ -125,6 +125,8 @@ postgres_drop_tables (void *cls,
|
|||||||
"DROP TABLE IF EXISTS wire_auditor_account_progress;"),
|
"DROP TABLE IF EXISTS wire_auditor_account_progress;"),
|
||||||
GNUNET_PQ_make_execute (
|
GNUNET_PQ_make_execute (
|
||||||
"DROP TABLE IF EXISTS auditor_historic_reserve_summary CASCADE;"),
|
"DROP TABLE IF EXISTS auditor_historic_reserve_summary CASCADE;"),
|
||||||
|
GNUNET_PQ_make_execute (
|
||||||
|
"DROP TABLE IF EXISTS auditor_denominations CASCADE;"),
|
||||||
GNUNET_PQ_EXECUTE_STATEMENT_END
|
GNUNET_PQ_EXECUTE_STATEMENT_END
|
||||||
};
|
};
|
||||||
struct GNUNET_PQ_ExecuteStatement esx[] = {
|
struct GNUNET_PQ_ExecuteStatement esx[] = {
|
||||||
|
@ -467,10 +467,10 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h,
|
|||||||
void *json_str;
|
void *json_str;
|
||||||
size_t json_len;
|
size_t json_len;
|
||||||
|
|
||||||
json = json_pack ("{s:I, s:s}",
|
json = json_pack ("{s:I, s:o}",
|
||||||
"row_id",
|
"row_id",
|
||||||
(json_int_t) row_id,
|
(json_int_t) row_id,
|
||||||
"timestamp", "/Date(0)/"); /*dummy tmp */
|
"timestamp", GNUNET_JSON_from_time_abs (GNUNET_TIME_UNIT_ZERO_ABS)); /*dummy tmp */
|
||||||
|
|
||||||
json_str = json_dumps (json,
|
json_str = json_dumps (json,
|
||||||
JSON_INDENT (2));
|
JSON_INDENT (2));
|
||||||
|
Loading…
Reference in New Issue
Block a user