Update the username as well in the upsert case

This commit is contained in:
Natsu Kagami 2024-02-05 00:20:35 +01:00
parent de06c8e37f
commit 96961ed731
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 3 additions and 2 deletions

View file

@ -95,6 +95,7 @@ impl OsuUser {
ON CONFLICT (user_id) WHERE id = ? DO UPDATE
SET
last_update = excluded.last_update,
username = excluded.username,
pp_std = excluded.pp_std,
pp_taiko = excluded.pp_taiko,
pp_mania = excluded.pp_mania,