Use bytea rather than BLOB

pull/129/head
Mark Haines 2015-04-29 13:16:09 +01:00
parent 4ad8b45155
commit a9549fdce3
1 changed files with 1 additions and 1 deletions

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)
);