DB IDO: Change schema version to 1.12.0

refs #7391
This commit is contained in:
Michael Friedrich 2014-10-25 01:42:51 +02:00
parent 5cb08f3ecc
commit 4dc13d965e
7 changed files with 7 additions and 7 deletions

View File

@ -50,7 +50,7 @@ Icinga 2 is available as [Vagrant Demo VM](#vagrant).
#### Changes #### Changes
* DB IDO schema update to version `1.11.8` * DB IDO schema update to version `1.12.0`
* schema files in `lib/db_ido_{mysql,pgsql}/schema` * schema files in `lib/db_ido_{mysql,pgsql}/schema`
* New CLI commands #7245 * New CLI commands #7245
* `icinga2-{enable,disable}-feature` tool = cli command `icinga2 feature {enable,disable}` #7250 * `icinga2-{enable,disable}-feature` tool = cli command `icinga2 feature {enable,disable}` #7250

View File

@ -34,7 +34,7 @@
using namespace icinga; using namespace icinga;
#define SCHEMA_VERSION "1.11.8" #define SCHEMA_VERSION "1.12.0"
REGISTER_TYPE(IdoMysqlConnection); REGISTER_TYPE(IdoMysqlConnection);
REGISTER_STATSFUNCTION(IdoMysqlConnectionStats, &IdoMysqlConnection::StatsFunc); REGISTER_STATSFUNCTION(IdoMysqlConnectionStats, &IdoMysqlConnection::StatsFunc);

View File

@ -1602,6 +1602,6 @@ CREATE INDEX commenthistory_delete_idx ON icinga_commenthistory (instance_id, co
-- ----------------------------------------- -- -----------------------------------------
-- set dbversion -- set dbversion
-- ----------------------------------------- -- -----------------------------------------
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.11.8', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.11.8', modify_time=NOW(); INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.12.0', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.12.0', modify_time=NOW();

View File

@ -13,5 +13,5 @@ ALTER TABLE `icinga_programstatus` ADD COLUMN `program_version` varchar(64) char
-- update dbversion -- update dbversion
-- ----------------------------------------- -- -----------------------------------------
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.11.8', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.11.8', modify_time=NOW(); INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.12.0', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.12.0', modify_time=NOW();

View File

@ -35,7 +35,7 @@
using namespace icinga; using namespace icinga;
#define SCHEMA_VERSION "1.11.8" #define SCHEMA_VERSION "1.12.0"
REGISTER_TYPE(IdoPgsqlConnection); REGISTER_TYPE(IdoPgsqlConnection);

View File

@ -1631,5 +1631,5 @@ CREATE INDEX commenthistory_delete_idx ON icinga_commenthistory (instance_id, co
-- set dbversion -- set dbversion
-- ----------------------------------------- -- -----------------------------------------
SELECT updatedbversion('1.11.8'); SELECT updatedbversion('1.12.0');

View File

@ -13,5 +13,5 @@ ALTER TABLE icinga_programstatus ADD COLUMN program_version TEXT default NULL;
-- update dbversion -- update dbversion
-- ----------------------------------------- -- -----------------------------------------
SELECT updatedbversion('1.11.8'); SELECT updatedbversion('1.12.0');