forked from MirrorHub/synapse
Use bytea rather than BLOB
This commit is contained in:
parent
4ad8b45155
commit
a9549fdce3
1 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,6 @@ CREATE TABLE IF NOT EXISTS server_keys_json (
|
||||||
from_server TEXT, -- Which server the keys were fetched from.
|
from_server TEXT, -- Which server the keys were fetched from.
|
||||||
ts_added_ms INTEGER, -- When the keys were fetched
|
ts_added_ms INTEGER, -- When the keys were fetched
|
||||||
ts_valid_until_ms INTEGER, -- When this version of the keys exipires.
|
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)
|
CONSTRAINT uniqueness UNIQUE (server_name, key_id, from_server)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue