mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Use bytea rather than BLOB
This commit is contained in:
parent
4ad8b45155
commit
a9549fdce3
@ -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…
Reference in New Issue
Block a user