diff options
-rw-r--r-- | src/mint/mint_db.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mint/mint_db.c b/src/mint/mint_db.c index 36e88a794..fa3158cd4 100644 --- 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" |