[icinga-checkins] icinga.org: icinga-core/next: call to update-version-schema was missing ...

git at icinga.org git at icinga.org
Fri Apr 27 19:06:00 CEST 2012


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

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Apr 27 18:20:54 2012 +0200

call to update-version-schema was missing ...

... don't do that manually.

refs #2394

---

 module/idoutils/db/scripts/installdb.in |    2 +-
 module/idoutils/db/scripts/upgradedb.in |    6 +++---
 update-version-schema                   |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/module/idoutils/db/scripts/installdb.in b/module/idoutils/db/scripts/installdb.in
index 7051939..2971e67 100755
--- a/module/idoutils/db/scripts/installdb.in
+++ b/module/idoutils/db/scripts/installdb.in
@@ -45,7 +45,7 @@ my $dbh = DBI->connect("DBI:mysql:database=$database;host=$hostname",
 		or die "Cannot connect to database";
 
 # Current database version
-my $thisversion="1.6.0";
+my $thisversion="1.7.0";
 
 # Create version table if it doesn't exist
 eval { $dbh->do("SELECT * FROM icinga_dbversion LIMIT 1") };
diff --git a/module/idoutils/db/scripts/upgradedb.in b/module/idoutils/db/scripts/upgradedb.in
index f46b8c9..d131146 100755
--- a/module/idoutils/db/scripts/upgradedb.in
+++ b/module/idoutils/db/scripts/upgradedb.in
@@ -53,9 +53,9 @@ if ($@) {
 
 # Get current database version
 my $version;
-my $thisversion="1.6.0";
-my $lastversion="1.6.0";
-my $legacyversion="1.6.0";
+my $thisversion="1.7.0";
+my $lastversion="1.7.0";
+my $legacyversion="1.7.0";
 
 $version = $dbh->selectrow_array("SELECT version FROM icinga_dbversion WHERE name='idoutils'");
 if ($version eq "") {
diff --git a/update-version-schema b/update-version-schema
index 1238acc..2293ca8 100755
--- a/update-version-schema
+++ b/update-version-schema
@@ -10,10 +10,10 @@ else
 fi
 
 # Current version number
-CURRENTVERSION=1.6.0
+CURRENTVERSION=1.7.0
 
 # Last date
-LASTDATE=11-30-2011
+LASTDATE=04-27-2012
 
 if [ "x$1" = "x" ]
 then





More information about the icinga-checkins mailing list