mirror of https://github.com/Icinga/icinga2.git
parent
1e26d04bd6
commit
d98d0e9c53
|
@ -1406,7 +1406,6 @@ ALTER TABLE icinga_servicechecks ADD COLUMN endpoint_object_id bigint default NU
|
|||
ALTER TABLE icinga_statehistory ADD COLUMN endpoint_object_id bigint default NULL;
|
||||
ALTER TABLE icinga_systemcommands ADD COLUMN endpoint_object_id bigint default NULL;
|
||||
|
||||
ALTER TABLE icinga_hosts ADD COLUMN check_service_object_id bigint default NULL;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- add index (delete)
|
||||
|
@ -1601,6 +1600,6 @@ CREATE INDEX commenthistory_delete_idx ON icinga_commenthistory (instance_id, co
|
|||
-- -----------------------------------------
|
||||
-- set dbversion
|
||||
-- -----------------------------------------
|
||||
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.11.0', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.11.0', modify_time=NOW();
|
||||
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.11.3', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.11.3', modify_time=NOW();
|
||||
|
||||
|
||||
|
|
|
@ -6,3 +6,8 @@
|
|||
|
||||
ALTER TABLE icinga_hoststatus ADD COLUMN is_reachable smallint(6) DEFAULT NULL;
|
||||
ALTER TABLE icinga_servicestatus ADD COLUMN is_reachable smallint(6) DEFAULT NULL;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- set dbversion
|
||||
-- -----------------------------------------
|
||||
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.11.3', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.11.3', modify_time=NOW();
|
||||
|
|
|
@ -1434,7 +1434,6 @@ ALTER TABLE icinga_servicechecks ADD COLUMN endpoint_object_id bigint default NU
|
|||
ALTER TABLE icinga_statehistory ADD COLUMN endpoint_object_id bigint default NULL;
|
||||
ALTER TABLE icinga_systemcommands ADD COLUMN endpoint_object_id bigint default NULL;
|
||||
|
||||
ALTER TABLE icinga_hosts ADD COLUMN check_service_object_id bigint default NULL;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- add index (delete)
|
||||
|
@ -1630,5 +1629,5 @@ CREATE INDEX commenthistory_delete_idx ON icinga_commenthistory (instance_id, co
|
|||
-- set dbversion
|
||||
-- -----------------------------------------
|
||||
|
||||
SELECT updatedbversion('1.11.0');
|
||||
SELECT updatedbversion('1.11.3');
|
||||
|
||||
|
|
|
@ -6,3 +6,9 @@
|
|||
|
||||
ALTER TABLE icinga_hoststatus ADD COLUMN is_reachable INTEGER default 0;
|
||||
ALTER TABLE icinga_servicestatus ADD COLUMN is_reachable INTEGER default 0;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- set dbversion
|
||||
-- -----------------------------------------
|
||||
|
||||
SELECT updatedbversion('1.11.3');
|
||||
|
|
Loading…
Reference in New Issue