summary refs log tree commit diff
path: root/synapse/storage/database.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-05-06 01:16:53 +0100
committerRichard van der Hoff <richard@matrix.org>2020-05-06 11:41:23 +0100
commite48361545de14be61a1a25096c7fb4b90828ed51 (patch)
tree99bd863302724aaf56258616a7049d6dd86c7520 /synapse/storage/database.py
parentBetter type annotations for simple_upsert_txn (diff)
downloadsynapse-e48361545de14be61a1a25096c7fb4b90828ed51.tar.xz
use an upsert to update device_lists_outbound_last_success
Diffstat (limited to 'synapse/storage/database.py')
-rw-r--r--synapse/storage/database.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index f66880cbba..2b635d6ca0 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -79,6 +79,7 @@ UNIQUE_INDEX_BACKGROUND_UPDATES = {
     "device_lists_remote_extremeties": "device_lists_remote_extremeties_unique_idx",
     "device_lists_remote_cache": "device_lists_remote_cache_unique_idx",
     "event_search": "event_search_event_id_idx",
+    "device_lists_outbound_last_success": "device_lists_outbound_last_success_unique_idx",
 }