diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-20 04:29:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-20 04:29:42 +0100 |
commit | 3186dbf58a1ee01e2fab22b4a7f0b2d0deccd71a (patch) | |
tree | ecd10058539c4d4a61fb62cf9d6a37f0f2319183 /src/auditordb | |
parent | 73321daf5a30498143a1185c74bb272c5cdc7428 (diff) |
fix log level of auditor, elimintate REFERENCES constraint for now, unclear if it is needed/useful
Diffstat (limited to 'src/auditordb')
-rw-r--r-- | src/auditordb/plugin_auditordb_postgres.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index b4dfaeec5..380763904 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -359,7 +359,8 @@ postgres_create_tables (void *cls) of; "refund_serial_id" tells us the last entry in "refunds" for this denom_pub that the auditor is aware of. */ 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_frac INT4 NOT NULL" ",denom_balance_curr VARCHAR("TALER_CURRENCY_LEN_STR") NOT NULL" |