diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-25 15:30:32 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-25 15:30:32 +0000 |
commit | 86896408b0a3c0d0c82356c8cc0bdaf3fe236b45 (patch) | |
tree | 16fc61ed09c94d5dd3bb31cbe8aceca702c441e8 /synapse/storage | |
parent | Merge branch 'erikj/filters' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-86896408b0a3c0d0c82356c8cc0bdaf3fe236b45.tar.xz |
Add index to event_push_actions
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/schema/delta/28/event_push_actions.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/28/event_push_actions.sql b/synapse/storage/schema/delta/28/event_push_actions.sql index bdf6ae3f24..4d519849df 100644 --- a/synapse/storage/schema/delta/28/event_push_actions.sql +++ b/synapse/storage/schema/delta/28/event_push_actions.sql @@ -24,3 +24,4 @@ CREATE TABLE IF NOT EXISTS event_push_actions( CREATE INDEX event_push_actions_room_id_event_id_user_id_profile_tag on event_push_actions(room_id, event_id, user_id, profile_tag); +CREATE INDEX event_push_actions_room_id_user_id on event_push_actions(room_id, user_id); |