chore: reformat query

This commit is contained in:
Anna 2023-10-07 22:52:56 -04:00
parent 93c7524749
commit a60dfb2da3
Signed by: anna
GPG Key ID: D0943384CD9F87D1
1 changed files with 14 additions and 13 deletions

View File

@ -201,22 +201,23 @@ async fn upload(
sqlx::query!(
// language=sqlite
"
insert into players (hash, world, timestamp, territory, current_world, x, y, z, w, customize, level, job, free_company, current_hp,
insert into players (hash, world, timestamp, territory, current_world, x, y, z, w, customize, level, job, free_company,
current_hp,
max_hp)
values (?, ?, current_timestamp, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
on conflict (hash) do update set timestamp = current_timestamp,
territory = ?,
current_world = ?,
x = ?,
y = ?,
z = ?,
w = ?,
customize = ?,
level = ?,
job = ?,
free_company = ?,
current_hp = ?,
max_hp = ?
territory = ?,
current_world = ?,
x = ?,
y = ?,
z = ?,
w = ?,
customize = ?,
level = ?,
job = ?,
free_company = ?,
current_hp = ?,
max_hp = ?
",
player.hash,
player.world,