diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-01 23:49:13 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-01 23:49:13 +0100 |
commit | 1408e1587b57903d817e93cdafc2de3156af9e43 (patch) | |
tree | cc5b64a89e5dff9a64d8641733c9c4874fd5b5e4 /src/exchangedb | |
parent | 9358b886f1249333a5049dab2b4e17fadc0213e0 (diff) | |
download | exchange-1408e1587b57903d817e93cdafc2de3156af9e43.tar.xz |
introduce invalid key type
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/exchange-0001.sql | 2 |
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) |