Skip to main content

migrate_profile_keys

Function migrate_profile_keys 

Source
async fn migrate_profile_keys(services: &Services) -> Result
Expand description

Relocates the per-user displayname and avatar_url out of their dedicated columns into the unified useridprofilekey_value store keyed by MSC4133 field name, where the profile service now reads them. The dedicated columns are left intact, so an older binary opening the same database still resolves.