]> granicus.if.org Git - icinga2/commitdiff
Update MySQL schema.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 22 Oct 2013 09:42:45 +0000 (11:42 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 22 Oct 2013 09:42:45 +0000 (11:42 +0200)
components/db_ido_mysql/schema/mysql.sql

index 32f320cef865f66a376d31b8d0a3071c2c7c6d28..dc57b8e73dbb9bde3fa95e5a7ac4a45e7d993500 100644 (file)
@@ -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,