summaryrefslogtreecommitdiff
path: root/src/exchangedb/exchange-0001.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-01 23:49:13 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-01 23:49:13 +0100
commit1408e1587b57903d817e93cdafc2de3156af9e43 (patch)
treecc5b64a89e5dff9a64d8641733c9c4874fd5b5e4 /src/exchangedb/exchange-0001.sql
parent9358b886f1249333a5049dab2b4e17fadc0213e0 (diff)
downloadexchange-1408e1587b57903d817e93cdafc2de3156af9e43.tar.gz
exchange-1408e1587b57903d817e93cdafc2de3156af9e43.tar.bz2
exchange-1408e1587b57903d817e93cdafc2de3156af9e43.zip
introduce invalid key type
Diffstat (limited to 'src/exchangedb/exchange-0001.sql')
-rw-r--r--src/exchangedb/exchange-0001.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/exchange-0001.sql b/src/exchangedb/exchange-0001.sql
index 68eb07336..d510af789 100644
--- a/src/exchangedb/exchange-0001.sql
+++ b/src/exchangedb/exchange-0001.sql
@@ -24,7 +24,7 @@ SELECT _v.register_patch('exchange-0001', NULL, NULL);
CREATE TABLE IF NOT EXISTS denominations
(denominations_serial BIGSERIAL UNIQUE
,denom_pub_hash BYTEA PRIMARY KEY CHECK (LENGTH(denom_pub_hash)=64)
- ,denom_type INT4 NOT NULL DEFAULT (0)
+ ,denom_type INT4 NOT NULL DEFAULT (1) -- 1 == RSA (for now, remove default later!)
,age_restrictions INT4 NOT NULL DEFAULT (0)
,denom_pub BYTEA NOT NULL
,master_sig BYTEA NOT NULL CHECK (LENGTH(master_sig)=64)