mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Make index unique
This commit is contained in:
parent
a6cf1e079e
commit
4dda68da9a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user