chore: reformat query
This commit is contained in:
parent
93c7524749
commit
a60dfb2da3
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue