2016-02-02 01:26:55 +01:00
|
|
|
-- -----------------------------------------
|
|
|
|
-- upgrade path for Icinga 2.5.0
|
|
|
|
--
|
|
|
|
-- -----------------------------------------
|
|
|
|
-- Copyright (c) 2016 Icinga Development Team (http://www.icinga.org)
|
|
|
|
--
|
|
|
|
-- Please check http://docs.icinga.org for upgrading information!
|
|
|
|
-- -----------------------------------------
|
|
|
|
|
|
|
|
-- -----------------------------------------
|
|
|
|
-- #10069 IDO: check_source should not be a TEXT field
|
|
|
|
-- -----------------------------------------
|
|
|
|
|
|
|
|
ALTER TABLE icinga_hoststatus MODIFY COLUMN check_source varchar(255) character set latin1 default '';
|
|
|
|
ALTER TABLE icinga_servicestatus MODIFY COLUMN check_source varchar(255) character set latin1 default '';
|
|
|
|
|
2016-06-20 16:23:57 +02:00
|
|
|
-- -----------------------------------------
|
|
|
|
-- #10070
|
|
|
|
-- -----------------------------------------
|
|
|
|
|
|
|
|
CREATE INDEX idx_comments_object_id on icinga_comments(object_id);
|
|
|
|
CREATE INDEX idx_scheduleddowntime_object_id on icinga_scheduleddowntime(object_id);
|
|
|
|
|
2016-02-02 01:26:55 +01:00
|
|
|
-- -----------------------------------------
|
|
|
|
-- set dbversion
|
|
|
|
-- -----------------------------------------
|
|
|
|
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.14.1', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.14.1', modify_time=NOW();
|