fix SQL error

This commit is contained in:
Christian Grothoff 2020-12-02 15:58:13 +01:00
parent 9572337aed
commit b92e85f9cc
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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