diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-25 16:06:07 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-25 16:06:07 +0000 |
commit | ce6fbbea94f0bbd50989f92dbf04c5204dad0795 (patch) | |
tree | d7c2f2c8e67d4a9caaa98022094ce0c055560033 | |
parent | Merge pull request #521 from matrix-org/erikj/underscores (diff) | |
parent | Add index to event_push_actions (diff) | |
download | synapse-ce6fbbea94f0bbd50989f92dbf04c5204dad0795.tar.xz |
Merge pull request #526 from matrix-org/erikj/push_index
Add index to event_push_actions
-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); |