From 05c7c4be1e531a48a17a2f252abadabb737f09ba Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 16 Nov 2026 14:36:19 +0100 Subject: [PATCH] correct version on fresh store --- schema.sql | 2 +- src/database.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schema.sql b/schema.sql index 5e45cce..e6b0eac 100644 --- a/schema.sql +++ b/schema.sql @@ -530,7 +530,7 @@ SELECT attacker, victim, json_objectagg (attacker_class:count) AS by_class, - sum(count) AS total + sum(count)::BIGINT AS total FROM grouped_drop_kills GROUP BY diff --git a/src/database.rs b/src/database.rs index 653dff6..56108e1 100644 --- a/src/database.rs +++ b/src/database.rs @@ -28,7 +28,7 @@ pub async fn store_log( log.info.map, log.info.map_type() as MapType, log.info.date() as DateTime, - 2 + crate::VERSION, ) .execute(&mut *tx) .await?;