site
site copied to clipboard
Add alternate accounts to the user model
Introduce a way to store alternate accounts on the user, and add the PATCH /bot/users/<id:str>/alts endpoint, which allows updating the user's alt accounts to the alt accounts in the request..
Deploy Preview for pydis-static failed.
| Name | Link |
|---|---|
| Latest commit | 447ce1039a9631b97ab668f777667cdc404d1140 |
| Latest deploy log | https://app.netlify.com/sites/pydis-static/deploys/664adc7f918b20000845d9f0 |
coverage: 100.0%. remained the same when pulling 447ce1039a9631b97ab668f777667cdc404d1140 on user-alts into 350c2b7426fcdb8c1b4993d402ef09240d67b4a0 on main.
Oh just noticed the PR age, the serialisation might be present in main then.
Migrations are merged, display_name was added, please re-review.
@jb3
I may misunderstand Django migrations and this may be a non-issue, but do we need to update the dependencies of the 0093_user_alts migration to instead depend on 0095_user_display_name (which should be the most recent migration)
We do not. The merged migration takes care of resolving conflicts.