From 22a85bd4e1f6005455b91bb3edff68d4019526a1 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sat, 27 Jun 2026 13:05:03 +0100
Subject: Increase size field to 64bit and fix scan types

2^31 not big enough for large file downloads, bumped to 64bit.
Replace woolly types with specific uintXX_t in scn call.
---
 src/schema.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/schema.sql')

diff --git a/src/schema.sql b/src/schema.sql
index bd0dcfe..81080ff 100644
--- a/src/schema.sql
+++ b/src/schema.sql
@@ -107,7 +107,7 @@ CREATE TABLE access_log(
 	path integer NOT NULL,
 	query_string integer,
 	status smallint NOT NULL,
-	size integer NOT NULL,
+	size bigint NOT NULL,
 	duration interval second(6) NOT NULL,
 	referrer integer,
 	user_agent integer,
-- 
cgit v1.3

