[icinga-checkins] icinga.org: icinga-core/dev/ido: idoutils: increase dbversion string to 1.7 .0 #2394

git at icinga.org git at icinga.org
Mon Apr 2 16:44:00 CEST 2012


Module: icinga-core
Branch: dev/ido
Commit: 7de8a3e7b9f96e77937ce4dd1a93f8eca1c150ce
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=7de8a3e7b9f96e77937ce4dd1a93f8eca1c150ce

Author: Thomas Dressler <tdressler at tdressler.net>
Date:   Sat Mar  3 11:30:00 2012 +0100

idoutils: increase dbversion string to 1.7.0 #2394
refs #2394

---

 module/idoutils/db/mysql/mysql.sql                 |    2 +-
 .../db/mysql/upgrade/mysql-upgrade-1.7.0.sql       |    2 +-
 module/idoutils/db/oracle/oracle.sql               |    4 ++--
 .../db/oracle/upgrade/oracle-upgrade-1.7.0.sql     |    2 +-
 module/idoutils/db/pgsql/pgsql.sql                 |    2 +-
 .../db/pgsql/upgrade/pgsql-upgrade-1.7.0.sql       |    2 +-
 module/idoutils/include/common.h                   |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/module/idoutils/db/mysql/mysql.sql b/module/idoutils/db/mysql/mysql.sql
index 25033b6..3aed2f2 100644
--- a/module/idoutils/db/mysql/mysql.sql
+++ b/module/idoutils/db/mysql/mysql.sql
@@ -1582,6 +1582,6 @@ CREATE INDEX services_combined_object_idx ON icinga_services(service_object_id,
 -- -----------------------------------------
 -- set dbversion
 -- -----------------------------------------
-INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.6.0') ON DUPLICATE KEY UPDATE version='1.6.0';
+INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.7.0') ON DUPLICATE KEY UPDATE version='1.7.0';
 
 
diff --git a/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.7.0.sql b/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.7.0.sql
index c246c51..9c73090 100644
--- a/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.7.0.sql
+++ b/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.7.0.sql
@@ -16,5 +16,5 @@ create index statehist_state_idx on icinga_statehistory(object_id,state);
 -- update dbversion
 -- -----------------------------------------
 
-INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.6.0') ON DUPLICATE KEY UPDATE version='1.6.0';
+INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.7.0') ON DUPLICATE KEY UPDATE version='1.7.0';
 
diff --git a/module/idoutils/db/oracle/oracle.sql b/module/idoutils/db/oracle/oracle.sql
index 7f6608b..7c6efad 100644
--- a/module/idoutils/db/oracle/oracle.sql
+++ b/module/idoutils/db/oracle/oracle.sql
@@ -16,12 +16,12 @@
 --
 -- initial version: 2008-02-20 David Schmidt
 -- 		    2011-01-17 Michael Friedrich <michael.friedrich(at)univie.ac.at>
--- current version: 2011-06-10 Thomas Dressler
+-- current version: 2012-03-03 Thomas Dressler
 --
 -- -- --------------------------------------------------------
 */
 
-DEFINE ICINGA_VERSION=1.6.0
+DEFINE ICINGA_VERSION=1.7.0
 
 -- -----------------------------------------
 -- set defines
diff --git a/module/idoutils/db/oracle/upgrade/oracle-upgrade-1.7.0.sql b/module/idoutils/db/oracle/upgrade/oracle-upgrade-1.7.0.sql
index 2fdde58..b1b397a 100644
--- a/module/idoutils/db/oracle/upgrade/oracle-upgrade-1.7.0.sql
+++ b/module/idoutils/db/oracle/upgrade/oracle-upgrade-1.7.0.sql
@@ -15,7 +15,7 @@ set heading on;
 set echo on;
 set feedback on;
 
-define ICINGA_VERSION=1.6.0
+define ICINGA_VERSION=1.7.0
 
 -- --------------------------------------------------------
 -- warning:edit this script to define existing tablespaces
diff --git a/module/idoutils/db/pgsql/pgsql.sql b/module/idoutils/db/pgsql/pgsql.sql
index 9b0783e..bd0e483 100644
--- a/module/idoutils/db/pgsql/pgsql.sql
+++ b/module/idoutils/db/pgsql/pgsql.sql
@@ -1612,5 +1612,5 @@ CREATE INDEX slahist_i_id_o_id_s_ti_s_s_ti_e on icinga_slahistory(instance_id,ob
 -- set dbversion
 -- -----------------------------------------
 
-SELECT updatedbversion('1.6.0');
+SELECT updatedbversion('1.7.0');
 
diff --git a/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.7.0.sql b/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.7.0.sql
index c246c51..9c73090 100644
--- a/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.7.0.sql
+++ b/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.7.0.sql
@@ -16,5 +16,5 @@ create index statehist_state_idx on icinga_statehistory(object_id,state);
 -- update dbversion
 -- -----------------------------------------
 
-INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.6.0') ON DUPLICATE KEY UPDATE version='1.6.0';
+INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.7.0') ON DUPLICATE KEY UPDATE version='1.7.0';
 
diff --git a/module/idoutils/include/common.h b/module/idoutils/include/common.h
index 7644455..f79241d 100644
--- a/module/idoutils/include/common.h
+++ b/module/idoutils/include/common.h
@@ -25,7 +25,7 @@
 #define IDO_DATE "03-01-2012"
 #define IDO_VERSION "1.7.0-dev"
 
-#define IDO_SCHEMA_VERSION "1.6.0"
+#define IDO_SCHEMA_VERSION "1.7.0"
 
 #define IDO_COPYRIGHT 		"Copyright(c) 2005-2008 Ethan Galstad, Copyright(c) 2009-2012 Icinga Development Team (https://www.icinga.org)"
 #define IDO_LICENSE 		"License: GPL v2"





More information about the icinga-checkins mailing list