From b54f9961992d880106f7c6901423cbffe35f0a26 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 9 Aug 2024 22:12:34 +0200 Subject: make id of failed_builds a bigint * apparently, we hit the limit of 8388607 failed builds and did no longer persist failures in the db --- misc/database-layout.dmf | 2 +- misc/database-layout.dump | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index 012f306..2864718 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -565,7 +565,7 @@ id - MEDIUMINT + BIGINT True True diff --git a/misc/database-layout.dump b/misc/database-layout.dump index be12666..a0430fe 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -644,7 +644,7 @@ fail_reasons CREATE TABLE `fail_reasons` ( UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci failed_builds CREATE TABLE `failed_builds` ( - `id` mediumint(9) NOT NULL AUTO_INCREMENT, + `id` bigint(20) NOT NULL AUTO_INCREMENT, `build_slave` mediumint(9) NOT NULL, `build_assignment` bigint(20) NOT NULL, `date` timestamp NOT NULL DEFAULT current_timestamp(), -- cgit v1.2.3-70-g09d2