mirror of
https://codeberg.org/icewind/log-normalizer.git
synced 2026-11-30 10:30:47 +01:00
This commit is contained in:
parent
3c173f6663
commit
05c7c4be1e
2 changed files with 2 additions and 2 deletions
|
|
@ -530,7 +530,7 @@ SELECT
|
||||||
attacker,
|
attacker,
|
||||||
victim,
|
victim,
|
||||||
json_objectagg (attacker_class:count) AS by_class,
|
json_objectagg (attacker_class:count) AS by_class,
|
||||||
sum(count) AS total
|
sum(count)::BIGINT AS total
|
||||||
FROM
|
FROM
|
||||||
grouped_drop_kills
|
grouped_drop_kills
|
||||||
GROUP BY
|
GROUP BY
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ pub async fn store_log(
|
||||||
log.info.map,
|
log.info.map,
|
||||||
log.info.map_type() as MapType,
|
log.info.map_type() as MapType,
|
||||||
log.info.date() as DateTime<Utc>,
|
log.info.date() as DateTime<Utc>,
|
||||||
2
|
crate::VERSION,
|
||||||
)
|
)
|
||||||
.execute(&mut *tx)
|
.execute(&mut *tx)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue