fix log level of auditor, elimintate REFERENCES constraint for now, unclear if it is needed/useful
This commit is contained in:
parent
73321daf5a
commit
3186dbf58a
@ -3371,7 +3371,7 @@ main (int argc,
|
|||||||
(void) TALER_project_data_default ();
|
(void) TALER_project_data_default ();
|
||||||
GNUNET_assert (GNUNET_OK ==
|
GNUNET_assert (GNUNET_OK ==
|
||||||
GNUNET_log_setup ("taler-auditor",
|
GNUNET_log_setup ("taler-auditor",
|
||||||
"INFO",
|
"MESSAGE",
|
||||||
NULL));
|
NULL));
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_PROGRAM_run (argc,
|
GNUNET_PROGRAM_run (argc,
|
||||||
|
@ -359,7 +359,8 @@ postgres_create_tables (void *cls)
|
|||||||
of; "refund_serial_id" tells us the last entry in "refunds"
|
of; "refund_serial_id" tells us the last entry in "refunds"
|
||||||
for this denom_pub that the auditor is aware of. */
|
for this denom_pub that the auditor is aware of. */
|
||||||
SQLEXEC ("CREATE TABLE IF NOT EXISTS denomination_pending"
|
SQLEXEC ("CREATE TABLE IF NOT EXISTS denomination_pending"
|
||||||
"(denom_pub_hash BYTEA PRIMARY KEY REFERENCES auditor_denominations (denom_pub_hash) ON DELETE CASCADE"
|
"(denom_pub_hash BYTEA PRIMARY KEY"
|
||||||
|
/* " REFERENCES auditor_denominations (denom_pub_hash) ON DELETE CASCADE" // Do we want this? */
|
||||||
",denom_balance_val INT8 NOT NULL"
|
",denom_balance_val INT8 NOT NULL"
|
||||||
",denom_balance_frac INT4 NOT NULL"
|
",denom_balance_frac INT4 NOT NULL"
|
||||||
",denom_balance_curr VARCHAR("TALER_CURRENCY_LEN_STR") NOT NULL"
|
",denom_balance_curr VARCHAR("TALER_CURRENCY_LEN_STR") NOT NULL"
|
||||||
|
Loading…
Reference in New Issue
Block a user