From 5af821460a70bf3ef13a8f049bebadebb168452d Mon Sep 17 00:00:00 2001 From: Laurent Pinsivy Date: Wed, 20 Dec 2017 13:37:57 +0000 Subject: [PATCH] Change version to 2.8.17 --- install.sh | 2 +- www/install/insertBaseConf.sql | 2 +- www/install/sql/centreon/Update-DB-2.8.16_to_2.8.17.sql | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 www/install/sql/centreon/Update-DB-2.8.16_to_2.8.17.sql diff --git a/install.sh b/install.sh index 649ced2319b..b00514720a7 100755 --- a/install.sh +++ b/install.sh @@ -50,7 +50,7 @@ # -- on upgrade, overwrite existing ? backup ? # Define centreon version -version="2.8.7" +version="2.8.17" # Debug #set -x diff --git a/www/install/insertBaseConf.sql b/www/install/insertBaseConf.sql index ef015b2fcea..c0421ab8cc9 100644 --- a/www/install/insertBaseConf.sql +++ b/www/install/insertBaseConf.sql @@ -2,7 +2,7 @@ -- Insert version -- -INSERT INTO `informations` (`key` ,`value`) VALUES ('version', '2.8.16'); +INSERT INTO `informations` (`key` ,`value`) VALUES ('version', '2.8.17'); -- -- Contenu de la table `contact` diff --git a/www/install/sql/centreon/Update-DB-2.8.16_to_2.8.17.sql b/www/install/sql/centreon/Update-DB-2.8.16_to_2.8.17.sql new file mode 100644 index 00000000000..c1c85288bbb --- /dev/null +++ b/www/install/sql/centreon/Update-DB-2.8.16_to_2.8.17.sql @@ -0,0 +1,2 @@ +-- Change version of Centreon +UPDATE `informations` SET `value` = '2.8.17' WHERE CONVERT( `informations`.`key` USING utf8 ) = 'version' AND CONVERT ( `informations`.`value` USING utf8 ) = '2.8.16' LIMIT 1;