From 3b8c1a0c7dfc5b52e905b4e7c20b153c3567e7c3 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 7 Mar 2014 11:11:28 +0100 Subject: [PATCH] DB IDO: Schema update for 0.0.8 provides 1.11.0 version. Refs #5635 --- components/db_ido_mysql/schema/upgrade/0.0.8.sql | 5 +++++ components/db_ido_pgsql/schema/upgrade/0.0.8.sql | 5 +++++ doc/1-about.md | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/components/db_ido_mysql/schema/upgrade/0.0.8.sql b/components/db_ido_mysql/schema/upgrade/0.0.8.sql index 1dac4dd30..ada426245 100644 --- a/components/db_ido_mysql/schema/upgrade/0.0.8.sql +++ b/components/db_ido_mysql/schema/upgrade/0.0.8.sql @@ -59,3 +59,8 @@ 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; +-- ----------------------------------------- +-- 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(); + diff --git a/components/db_ido_pgsql/schema/upgrade/0.0.8.sql b/components/db_ido_pgsql/schema/upgrade/0.0.8.sql index 61b323312..e443de08d 100644 --- a/components/db_ido_pgsql/schema/upgrade/0.0.8.sql +++ b/components/db_ido_pgsql/schema/upgrade/0.0.8.sql @@ -61,4 +61,9 @@ 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; +-- ----------------------------------------- +-- set dbversion +-- ----------------------------------------- + +SELECT updatedbversion('1.11.0'); diff --git a/doc/1-about.md b/doc/1-about.md index bacdce509..215d32003 100644 --- a/doc/1-about.md +++ b/doc/1-about.md @@ -25,8 +25,8 @@ the support overview page at [https://support.icinga.org]. * Add [Dependency](#objecttype-dependency) object for advanced host/service dependency definition * Add optional [IcingaNodeName](#global-constants) for cluster feature * Populate check_source attribute with the checker's node name -* [Cluster](#objecttype-clusterlistener) supports recursive config includes -* Add [Cluster health check]#(cluster-health-check) +* [Cluster](#objecttype-endpoint) supports recursive config includes +* Add [Cluster health check](#cluster-health-check) * Add more performance data to the [Icinga health check](#itl-icinga) * Add [IcingaStatusWriter](#objecttype-icingastatuswriter) feature writing a status json file * Smoother pending service checking during startup