From a80cb33621fbf37a64fe39b550ae25088588149c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Jul 2019 12:15:34 +0200 Subject: misc/database-layout: new columns "exit_code" and "duration" in "ssh_log" --- misc/database-layout.dmf | 38 +++++++++++++++++++++++++------------- misc/database-layout.dump | 3 +++ 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/misc/database-layout.dmf b/misc/database-layout.dmf index ddcd1dd..e0d70e4 100644 --- a/misc/database-layout.dmf +++ b/misc/database-layout.dmf @@ -287,6 +287,18 @@ True False + + duration + MEDIUMINT + False + False + + + exit_code + MEDIUMINT + False + False + @@ -964,8 +976,8 @@ - -19 - 365 + -22 + 374 failed_builds @@ -1018,8 +1030,8 @@ - -53 - 240 + -43 + 267
fail_reasons @@ -1850,7 +1862,7 @@ 59.5313 - 180.406 + 194.406 0 @@ -2344,8 +2356,8 @@ - 82.1458 - 365 + 79.1458 + 374 90 @@ -2377,8 +2389,8 @@ - 132.719 - 425.406 + 129.719 + 434.406 0 @@ -2410,16 +2422,16 @@ - 31.5729 - 365 + 28.5729 + 374 90 - -5.0625 - 318.813 + 4.9375 + 345.813 270 diff --git a/misc/database-layout.dump b/misc/database-layout.dump index 309e9e1..f952681 100644 --- a/misc/database-layout.dump +++ b/misc/database-layout.dump @@ -833,9 +833,12 @@ ssh_log CREATE TABLE `ssh_log` ( `build_slave` mediumint(9) DEFAULT NULL, `action` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, `parameters` text COLLATE utf8mb4_unicode_ci NOT NULL, + `exit_code` mediumint(9) DEFAULT NULL, + `duration` mediumint(9) DEFAULT NULL, PRIMARY KEY (`id`), KEY `build_slave` (`build_slave`), KEY `date` (`date`), + KEY `exit_code` (`exit_code`), CONSTRAINT `ssh_log_ibfk_1` FOREIGN KEY (`build_slave`) REFERENCES `build_slaves` (`id`) ON DELETE SET NULL ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci statistics CREATE TABLE `statistics` ( -- cgit v1.2.3-70-g09d2