From 838c205fe7aaf0fec4b125fc39917529b3768e6d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 19 Dec 2024 23:00:53 +0300 Subject: [PATCH] Change num_urls_checked to bigint as it can easily overflow 2^31 --- sql.d/schema/create_schema_tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.d/schema/create_schema_tables.sql b/sql.d/schema/create_schema_tables.sql index eb1ac8e1..9599c871 100644 --- a/sql.d/schema/create_schema_tables.sql +++ b/sql.d/schema/create_schema_tables.sql @@ -458,7 +458,7 @@ CREATE TABLE statistics ( num_metapackages integer NOT NULL DEFAULT 0, num_problems integer NOT NULL DEFAULT 0, num_maintainers integer NOT NULL DEFAULT 0, - num_urls_checked integer NOT NULL DEFAULT 0, + num_urls_checked bigint NOT NULL DEFAULT 0 num_reports_total integer NOT NULL DEFAULT 0, num_reports_open integer NOT NULL DEFAULT 0 );