summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-04-29 13:16:09 +0100
committerMark Haines <mark.haines@matrix.org>2015-04-29 13:16:09 +0100
commita9549fdce3fcb383e3d4725bce2d408f1d96b7d3 (patch)
tree18e0a808192950e39ff3a0ffe2eebb99405e03b2 /synapse/storage
parentMerge branch 'develop' into key_distribution (diff)
downloadsynapse-a9549fdce3fcb383e3d4725bce2d408f1d96b7d3.tar.xz
Use bytea rather than BLOB
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/schema/delta/15/server_keys.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/15/server_keys.sql b/synapse/storage/schema/delta/15/server_keys.sql
index 9cb589ff6d..513c30a717 100644
--- a/synapse/storage/schema/delta/15/server_keys.sql
+++ b/synapse/storage/schema/delta/15/server_keys.sql
@@ -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)
 );