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,