commit fcca3115427383f232b0510d162b0e5972a2ce2d
parent 0e52c47de7904a9f41057d5a1dcdf183fe57d1df
Author: Sree Harsha Totakura <sreeharsha@totakura.in>
Date: Sun, 12 Apr 2015 11:07:41 +0200
mintdb: add fixme #3769: Should coins be made spendable at multiple merchants?
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
@@ -283,6 +283,7 @@ postgres_create_tables (void *cls,
")");
SQLEXEC("CREATE TABLE IF NOT EXISTS deposits "
"( "
+ /* FIXME #3769: the following primary key may be too restrictive */
" coin_pub BYTEA NOT NULL PRIMARY KEY CHECK (length(coin_pub)=32)"
",denom_pub BYTEA NOT NULL" /* FIXME: Link this as a foreign key? */
",denom_sig BYTEA NOT NULL"