Use bytea rather than BLOB

This commit is contained in:
Mark Haines 2015-04-29 13:16:09 +01:00
parent 4ad8b45155
commit a9549fdce3

View File

@ -19,6 +19,6 @@ CREATE TABLE IF NOT EXISTS server_keys_json (
from_server TEXT, -- Which server the keys were fetched from.
ts_added_ms INTEGER, -- When the keys were fetched
ts_valid_until_ms INTEGER, -- When this version of the keys exipires.
key_json BLOB, -- JSON certificate for the remote server.
key_json bytea, -- JSON certificate for the remote server.
CONSTRAINT uniqueness UNIQUE (server_name, key_id, from_server)
);