Fix up
This commit is contained in:
parent
d766343668
commit
da52d3af31
|
@ -31,10 +31,10 @@ class DeviceInboxStore(BackgroundUpdateStore):
|
||||||
super(DeviceInboxStore, self).__init__(hs)
|
super(DeviceInboxStore, self).__init__(hs)
|
||||||
|
|
||||||
self.register_background_index_update(
|
self.register_background_index_update(
|
||||||
"device_lists_stream_idx",
|
"device_inbox_stream_index",
|
||||||
index_name="device_lists_stream_user_id",
|
index_name="device_inbox_stream_id_user_id",
|
||||||
table="device_lists_stream",
|
table="device_inbox",
|
||||||
columns=["user_id", "device_id"],
|
columns=["stream_id", "user_id"],
|
||||||
)
|
)
|
||||||
|
|
||||||
self.register_background_update_handler(
|
self.register_background_update_handler(
|
||||||
|
|
|
@ -34,10 +34,10 @@ class DeviceStore(SQLBaseStore):
|
||||||
)
|
)
|
||||||
|
|
||||||
self.register_background_index_update(
|
self.register_background_index_update(
|
||||||
"device_inbox_stream_index",
|
"device_lists_stream_idx",
|
||||||
index_name="device_inbox_stream_id_user_id",
|
index_name="device_lists_stream_user_id",
|
||||||
table="device_inbox",
|
table="device_lists_stream",
|
||||||
columns=["stream_id", "user_id"],
|
columns=["user_id", "device_id"],
|
||||||
)
|
)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Reference in New Issue