2014-10-16 12:11:10 +02:00
|
|
|
-- -----------------------------------------
|
|
|
|
-- upgrade path for Icinga 2.2.0
|
|
|
|
--
|
|
|
|
-- -----------------------------------------
|
|
|
|
-- Copyright (c) 2014 Icinga Development Team (http://www.icinga.org)
|
|
|
|
--
|
|
|
|
-- Please check http://docs.icinga.org for upgrading information!
|
|
|
|
-- -----------------------------------------
|
|
|
|
|
|
|
|
ALTER TABLE `icinga_programstatus` ADD COLUMN `program_version` varchar(64) character set latin1 collate latin1_general_cs default NULL;
|
|
|
|
|
2014-10-26 19:46:51 +01:00
|
|
|
ALTER TABLE icinga_contacts MODIFY alias TEXT character set latin1 default '';
|
|
|
|
ALTER TABLE icinga_hosts MODIFY alias TEXT character set latin1 default '';
|
|
|
|
|
2014-11-04 12:18:07 +01:00
|
|
|
ALTER TABLE icinga_customvariables ADD COLUMN is_json smallint default 0;
|
|
|
|
ALTER TABLE icinga_customvariablestatus ADD COLUMN is_json smallint default 0;
|
|
|
|
|
2014-10-16 12:11:10 +02:00
|
|
|
-- -----------------------------------------
|
|
|
|
-- update dbversion
|
|
|
|
-- -----------------------------------------
|
|
|
|
|
2014-10-25 01:42:51 +02:00
|
|
|
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.12.0', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.12.0', modify_time=NOW();
|
2014-10-16 12:11:10 +02:00
|
|
|
|