From b92e85f9ccdcc8f747ae5ca0dcf6c5ef60a59069 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 2 Dec 2020 15:58:13 +0100 Subject: [PATCH] fix SQL error --- src/exchangedb/exchange-0002.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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