[icinga-checkins] icinga.org: icinga-core/test/core: correct db schema version in mysql and pgsql upgrade scripts

git at icinga.org git at icinga.org
Tue Nov 15 10:05:55 CET 2011


Module: icinga-core
Branch: test/core
Commit: ac44aeaaa8a41583f6ff8964acfebb5fb7075b1b
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=ac44aeaaa8a41583f6ff8964acfebb5fb7075b1b

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Nov 15 10:05:05 2011 +0100

correct db schema version in mysql and pgsql upgrade scripts

---

 .../db/mysql/upgrade/mysql-upgrade-1.6.0.sql       |    2 +-
 .../db/pgsql/upgrade/pgsql-upgrade-1.6.0.sql       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.6.0.sql b/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.6.0.sql
index 7abf325..ef30957 100644
--- a/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.6.0.sql
+++ b/module/idoutils/db/mysql/upgrade/mysql-upgrade-1.6.0.sql
@@ -139,5 +139,5 @@ alter table  icinga_timedevents  modify  deletion_time  timestamp default 0;
 -- update dbversion
 -- -----------------------------------------
 
-INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.5.0') ON DUPLICATE KEY UPDATE version='1.5.0';
+INSERT INTO icinga_dbversion (name, version) VALUES ('idoutils', '1.6.0') ON DUPLICATE KEY UPDATE version='1.6.0';
 
diff --git a/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.6.0.sql b/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.6.0.sql
index fb61b1b..33eb929 100644
--- a/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.6.0.sql
+++ b/module/idoutils/db/pgsql/upgrade/pgsql-upgrade-1.6.0.sql
@@ -55,5 +55,5 @@ CREATE INDEX services_combined_idx ON icinga_services(service_object_id, host_ob
 -- update dbversion
 -- -----------------------------------------
 
-SELECT updatedbversion('1.5.0');
+SELECT updatedbversion('1.6.0');
 





More information about the icinga-checkins mailing list