summaryrefslogtreecommitdiff
path: root/src/mint/mint_db.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-03-06 21:35:38 +0100
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-03-06 21:35:38 +0100
commit21eae0ff7ea9b8081486ae0977f2221b3f7d1083 (patch)
treeb28695cdd88bc62dffd1b68759c14e10d0bbad22 /src/mint/mint_db.c
parent9879b8e8d3900427b3ec6dc6b5a19dbd4a15761c (diff)
downloadexchange-21eae0ff7ea9b8081486ae0977f2221b3f7d1083.tar.gz
exchange-21eae0ff7ea9b8081486ae0977f2221b3f7d1083.tar.bz2
exchange-21eae0ff7ea9b8081486ae0977f2221b3f7d1083.zip
db: remove reserves_out table
Diffstat (limited to 'src/mint/mint_db.c')
-rw-r--r--src/mint/mint_db.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mint/mint_db.c b/src/mint/mint_db.c
index fa3158cd4..ec48c6a80 100644
--- a/src/mint/mint_db.c
+++ b/src/mint/mint_db.c
@@ -176,18 +176,6 @@ TALER_MINT_DB_create_tables (int temporary)
/* Create an index on the foreign key as it is not created automatically by PSQL */
SQLEXEC ("CREATE INDEX reserves_in_reserve_pub_index"
" ON reserves_in (reserve_pub);");
- SQLEXEC ("CREATE TABLE IF NOT EXISTS reserves_out"
- "("
- " reserve_pub BYTEA REFERENCES reserves (reserve_pub) ON DELETE CASCADE"
- ",value INT4 NOT NULL"
- ",fraction INT4 NOT NULL"
- ",blind_ev BYTEA PRIMARY KEY"
- ",denom_pub BYTEA NOT NULL" /* FIXME: Make this a foreign key? */
- ",auth_sig BYTEA NOT NULL"
- ")");
- SQLEXEC ("CREATE INDEX reserves_out_reserve_pub_index"
- " ON reserves_out (reserve_pub);");
-
SQLEXEC ("CREATE TABLE IF NOT EXISTS collectable_blindcoins"
"("
"blind_ev BYTEA PRIMARY KEY"