2014-10-16 12:11:10 +02:00
|
|
|
-- -----------------------------------------
|
|
|
|
-- upgrade path for Icinga 2.2.0
|
|
|
|
--
|
|
|
|
-- -----------------------------------------
|
2019-02-25 16:30:40 +01:00
|
|
|
-- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
2014-10-16 12:11:10 +02:00
|
|
|
--
|
2017-04-06 22:20:20 +02:00
|
|
|
-- Please check https://docs.icinga.com for upgrading information!
|
2014-10-16 12:11:10 +02:00
|
|
|
-- -----------------------------------------
|
|
|
|
|
|
|
|
ALTER TABLE `icinga_programstatus` ADD COLUMN `program_version` varchar(64) character set latin1 collate latin1_general_cs default NULL;
|
|
|
|
|
2017-01-24 17:11:00 +01:00
|
|
|
ALTER TABLE icinga_contacts MODIFY alias TEXT character set latin1;
|
|
|
|
ALTER TABLE icinga_hosts MODIFY alias TEXT character set latin1;
|
2014-10-26 19:46:51 +01:00
|
|
|
|
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
|
|
|
|