Skip to content
Snippets Groups Projects
Commit da52d3af authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix up

parent d7663436
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
......@@ -34,10 +34,10 @@ class DeviceStore(SQLBaseStore):
)
self.register_background_index_update(
"device_inbox_stream_index",
index_name="device_inbox_stream_id_user_id",
table="device_inbox",
columns=["stream_id", "user_id"],
"device_lists_stream_idx",
index_name="device_lists_stream_user_id",
table="device_lists_stream",
columns=["user_id", "device_id"],
)
@defer.inlineCallbacks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment