aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-02 15:58:13 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-02 15:58:13 +0100
commitb92e85f9ccdcc8f747ae5ca0dcf6c5ef60a59069 (patch)
treecd57fce45f563a8dbadfcf0ff87656a7dc706fd5 /src/exchangedb
parent9572337aed3ebc5f0654db11c10babc88560c481 (diff)
fix SQL error
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/exchange-0002.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/exchange-0002.sql b/src/exchangedb/exchange-0002.sql
index f90097da4..146e0a7b8 100644
--- a/src/exchangedb/exchange-0002.sql
+++ b/src/exchangedb/exchange-0002.sql
@@ -97,7 +97,7 @@ COMMENT ON COLUMN auditors.last_change
CREATE TABLE IF NOT EXISTS auditor_denom_sigs
(auditor_pub BYTEA NOT NULL REFERENCES auditors (auditor_pub) ON DELETE CASCADE
,denom_pub_hash BYTEA NOT NULL REFERENCES denominations (denom_pub_hash) ON DELETE CASCADE
- ,auditor_sig BYTEA PRIMARY KEY CHECK (LENGTH(auditor_sig)=64)
+ ,auditor_sig BYTEA CHECK (LENGTH(auditor_sig)=64)
,PRIMARY KEY (denom_pub_hash, auditor_pub)
);
COMMENT ON TABLE auditor_denom_sigs