diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-03 15:29:13 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-03-03 15:29:13 +0000 |
commit | da52d3af317f03cd95c2f3158bf95290d828f2aa (patch) | |
tree | 29f487263bfa32d563d9db9f6abdf68a3789d2b4 /synapse/storage/deviceinbox.py | |
parent | Add index to device_lists_stream (diff) | |
download | synapse-da52d3af317f03cd95c2f3158bf95290d828f2aa.tar.xz |
Fix up
Diffstat (limited to 'synapse/storage/deviceinbox.py')
-rw-r--r-- | synapse/storage/deviceinbox.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/storage/deviceinbox.py b/synapse/storage/deviceinbox.py index 1951de0ce1..bde3b5cbbc 100644 --- a/synapse/storage/deviceinbox.py +++ b/synapse/storage/deviceinbox.py @@ -31,10 +31,10 @@ class DeviceInboxStore(BackgroundUpdateStore): super(DeviceInboxStore, self).__init__(hs) self.register_background_index_update( - "device_lists_stream_idx", - index_name="device_lists_stream_user_id", - table="device_lists_stream", - columns=["user_id", "device_id"], + "device_inbox_stream_index", + index_name="device_inbox_stream_id_user_id", + table="device_inbox", + columns=["stream_id", "user_id"], ) self.register_background_update_handler( |