summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-12 17:02:18 +0000
committerErik Johnston <erik@matrix.org>2014-11-12 17:02:34 +0000
commitf04b3d5042b85fa81efff9b561ca7af8d9709756 (patch)
tree08a37b4e2d62315f1ea6cd5bd0ccba9630594c12 /synapse/storage/schema
parentAdd more recents service unit tests. (diff)
downloadsynapse-f04b3d5042b85fa81efff9b561ca7af8d9709756.tar.xz
Store all signatures on events rather than just dropping them
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/event_signatures.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/schema/event_signatures.sql b/synapse/storage/schema/event_signatures.sql
index 5491c7ecec..4efa8a3e63 100644
--- a/synapse/storage/schema/event_signatures.sql
+++ b/synapse/storage/schema/event_signatures.sql
@@ -37,15 +37,15 @@ CREATE INDEX IF NOT EXISTS event_reference_hashes_id ON event_reference_hashes (
 );
 
 
-CREATE TABLE IF NOT EXISTS event_origin_signatures (
+CREATE TABLE IF NOT EXISTS event_signatures (
     event_id TEXT,
-    origin TEXT,
+    signature_name TEXT,
     key_id TEXT,
     signature BLOB,
     CONSTRAINT uniqueness UNIQUE (event_id, key_id)
 );
 
-CREATE INDEX IF NOT EXISTS event_origin_signatures_id ON event_origin_signatures (
+CREATE INDEX IF NOT EXISTS event_signatures_id ON event_signatures (
     event_id
 );