mirror of https://github.com/Icinga/icinga2.git
24 lines
1.0 KiB
SQL
24 lines
1.0 KiB
SQL
-- -----------------------------------------
|
|
-- 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;
|
|
|
|
ALTER TABLE icinga_contacts MODIFY alias TEXT character set latin1 default '';
|
|
ALTER TABLE icinga_hosts MODIFY alias TEXT character set latin1 default '';
|
|
|
|
ALTER TABLE icinga_customvariables ADD COLUMN is_json smallint default 0;
|
|
ALTER TABLE icinga_customvariablestatus ADD COLUMN is_json smallint default 0;
|
|
|
|
-- -----------------------------------------
|
|
-- update dbversion
|
|
-- -----------------------------------------
|
|
|
|
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();
|
|
|