mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Update the username as well in the upsert case
This commit is contained in:
parent
de06c8e37f
commit
96961ed731
2 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue