diff options
author | H. Shay <hillerys@element.io> | 2023-08-24 15:15:52 -0700 |
---|---|---|
committer | H. Shay <hillerys@element.io> | 2023-08-24 15:15:52 -0700 |
commit | 6470011b76190e0e544a23830898e3a4a0032880 (patch) | |
tree | d6bc2be909cd583e1cbe80943cf79f7fcb9b705e | |
parent | drop not null constraint on column `user_id` of tables `profiles` and `user_f... (diff) | |
download | synapse-6470011b76190e0e544a23830898e3a4a0032880.tar.xz |
allow for upserts to column `full_user_id` of table `profiles` and `user_filters`
-rw-r--r-- | synapse/storage/database.py | 2 |
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", } |