summary refs log tree commit diff
path: root/synapse/storage/schema/full_schemas
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-19 15:12:05 +0000
committerErik Johnston <erik@matrix.org>2015-03-19 15:12:05 +0000
commit58ed393235381b37182212547af7d65e2f6fa384 (patch)
tree3336dd013cc644d41135fb08f30de4656b795200 /synapse/storage/schema/full_schemas
parentFix up schemas to work with mariadb (diff)
downloadsynapse-58ed393235381b37182212547af7d65e2f6fa384.tar.xz
Remove redundant key
Diffstat (limited to 'synapse/storage/schema/full_schemas')
-rw-r--r--synapse/storage/schema/full_schemas/11/im.sql1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/schema/full_schemas/11/im.sql b/synapse/storage/schema/full_schemas/11/im.sql
index d58106def8..9849e969be 100644
--- a/synapse/storage/schema/full_schemas/11/im.sql
+++ b/synapse/storage/schema/full_schemas/11/im.sql
@@ -27,7 +27,6 @@ CREATE TABLE IF NOT EXISTS events(
     UNIQUE (event_id)
 ) ENGINE = INNODB;
 
-CREATE INDEX IF NOT EXISTS events_event_id ON events (event_id);
 CREATE INDEX IF NOT EXISTS events_stream_ordering ON events (stream_ordering);
 CREATE INDEX IF NOT EXISTS events_topological_ordering ON events (topological_ordering);
 CREATE INDEX IF NOT EXISTS events_room_id ON events (room_id);