commit 19911c825b2ed766210494dd7e65ebbe399ae1fb
parent 8c16c7372a2c9617e1ff8f235718f9e82cb6414a
Author: Sree Harsha Totakura <sreeharsha@totakura.in>
Date: Fri, 6 Mar 2015 17:56:23 +0100
db: Do not store blind signature as we generate them on the fly
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/mint/mint_db.c b/src/mint/mint_db.c
@@ -191,13 +191,12 @@ 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"
- " collectable_blindcoins(reserve_pub)");
+ ");");
+ SQLEXEC ("CREATE INDEX collectable_blindcoins_reserve_pub_index ON"
+ " collectable_blindcoins (reserve_pub)");
SQLEXEC("CREATE TABLE IF NOT EXISTS known_coins "
"("
" coin_pub BYTEA NOT NULL PRIMARY KEY"