summary refs log tree commit diff
path: root/synapse/storage/database.py
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2023-07-07 09:23:27 -0700
committerGitHub <noreply@github.com>2023-07-07 09:23:27 -0700
commitf25b0f88081bb436bef914983cff7087b54eba5f (patch)
tree95084a2757de2795005de0073f6fca86c858e3f6 /synapse/storage/database.py
parentRemove `worker_replication_*` settings from worker doc (#15872) (diff)
downloadsynapse-f25b0f88081bb436bef914983cff7087b54eba5f.tar.xz
Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15787)
Diffstat (limited to 'synapse/storage/database.py')
-rw-r--r--synapse/storage/database.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index a1c8fb0f46..c9d687fb2f 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -98,6 +98,8 @@ UNIQUE_INDEX_BACKGROUND_UPDATES = {
     "event_push_summary": "event_push_summary_unique_index2",
     "receipts_linearized": "receipts_linearized_unique_index",
     "receipts_graph": "receipts_graph_unique_index",
+    "profiles": "profiles_full_user_id_key_idx",
+    "user_filters": "full_users_filters_unique_idx",
 }