summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-14 10:37:12 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-14 10:37:12 +0100
commit4dda68da9a792d4b0e4a455a3128b08cde9656ee (patch)
tree04c6ab5f940ca000f31d8f894972aae6167476dc /synapse
parentMerge pull request #5416 from matrix-org/babolivier/fix_profile_replication (diff)
downloadsynapse-4dda68da9a792d4b0e4a455a3128b08cde9656ee.tar.xz
Make index unique
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/profile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py

index f60263502b..38524f2545 100644 --- a/synapse/storage/profile.py +++ b/synapse/storage/profile.py
@@ -176,6 +176,7 @@ class ProfileStore(ProfileWorkerStore, background_updates.BackgroundUpdateStore) index_name="profile_replication_status_idx", table="profile_replication_status", columns=["host"], + unique=True, ) def add_remote_profile_cache(self, user_id, displayname, avatar_url):