mirror of https://github.com/Icinga/icinga2.git
parent
5cb08f3ecc
commit
4dc13d965e
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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');
|
||||||
|
|
||||||
|
|
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue