db: Do not store blind signature as we generate them on the fly

This commit is contained in:
Sree Harsha Totakura 2015-03-06 17:56:23 +01:00
parent 8c16c7372a
commit 19911c825b

View File

@ -191,12 +191,11 @@ TALER_MINT_DB_create_tables (int temporary)
SQLEXEC ("CREATE TABLE IF NOT EXISTS collectable_blindcoins"
"("
"blind_ev BYTEA PRIMARY KEY"
",blind_ev_sig BYTEA NOT NULL"
",denom_pub BYTEA NOT NULL"
",reserve_sig BYTEA NOT NULL"
",reserve_pub BYTEA REFERENCES reserves (reserve_pub) ON DELETE CASCADE"
");"
"CREATE INDEX collectable_blindcoins_index ON"
");");
SQLEXEC ("CREATE INDEX collectable_blindcoins_reserve_pub_index ON"
" collectable_blindcoins (reserve_pub)");
SQLEXEC("CREATE TABLE IF NOT EXISTS known_coins "
"("