From 6db5136a5ad8f78bf071e538fca7b8863d1479e1 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 22 Oct 2013 11:42:45 +0200 Subject: [PATCH] Update MySQL schema. --- components/db_ido_mysql/schema/mysql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/db_ido_mysql/schema/mysql.sql b/components/db_ido_mysql/schema/mysql.sql index 32f320cef..dc57b8e73 100644 --- a/components/db_ido_mysql/schema/mysql.sql +++ b/components/db_ido_mysql/schema/mysql.sql @@ -396,7 +396,7 @@ CREATE TABLE IF NOT EXISTS icinga_downtimehistory ( internal_downtime_id bigint unsigned default 0, triggered_by_id bigint unsigned default 0, is_fixed smallint default 0, - duration smallint default 0, + duration bigint(20) default 0, scheduled_start_time timestamp default '0000-00-00 00:00:00', scheduled_end_time timestamp default '0000-00-00 00:00:00', was_started smallint default 0, @@ -952,7 +952,7 @@ CREATE TABLE IF NOT EXISTS icinga_scheduleddowntime ( internal_downtime_id bigint unsigned default 0, triggered_by_id bigint unsigned default 0, is_fixed smallint default 0, - duration smallint default 0, + duration bigint(20) default 0, scheduled_start_time timestamp default '0000-00-00 00:00:00', scheduled_end_time timestamp default '0000-00-00 00:00:00', was_started smallint default 0,