Decryption key is required non null field (#69)

This commit is contained in:
Jonathan Zernik 2020-07-05 18:43:33 -07:00 committed by GitHub
parent e6d5dafce9
commit d7d349d5c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS squeak (
encContent CHAR(2272) NOT NULL, -- Encrypted content length is always 1136 bytes (2272 hex characters).
vchScriptSig bytea NOT NULL,
address VARCHAR(35) NOT NULL, -- Maximum length of a bitcoin address is 35.
vchDecryptionKey bytea
vchDecryptionKey bytea NOT NULL
);
CREATE INDEX IF NOT EXISTS idx_squeak_address