diff --git a/components/db_ido_mysql/idomysqlconnection.cpp b/components/db_ido_mysql/idomysqlconnection.cpp index 14d74db9b..f1fe929d8 100644 --- a/components/db_ido_mysql/idomysqlconnection.cpp +++ b/components/db_ido_mysql/idomysqlconnection.cpp @@ -35,7 +35,7 @@ using namespace icinga; REGISTER_TYPE(IdoMysqlConnection); -#define SCHEMA_VERSION "1.10.0" +#define SCHEMA_VERSION "1.11.0" void IdoMysqlConnection::Start(void) { diff --git a/components/db_ido_mysql/schema/mysql.sql b/components/db_ido_mysql/schema/mysql.sql index dc57b8e73..3fbe5fd9d 100644 --- a/components/db_ido_mysql/schema/mysql.sql +++ b/components/db_ido_mysql/schema/mysql.sql @@ -917,6 +917,7 @@ CREATE TABLE IF NOT EXISTS icinga_programstatus ( modified_service_attributes int default 0, global_host_event_handler TEXT character set latin1 default '', global_service_event_handler TEXT character set latin1 default '', + config_dump_in_progress smallint default 0, PRIMARY KEY (programstatus_id), UNIQUE KEY instance_id (instance_id) ) ENGINE=InnoDB COMMENT='Current program status information'; @@ -1526,6 +1527,6 @@ CREATE INDEX sla_idx_obj ON icinga_objects (objecttype_id, is_active, name1); -- ----------------------------------------- -- set dbversion -- ----------------------------------------- -INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.10.0', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.10.0', modify_time=NOW(); +INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.11.0', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.11.0', modify_time=NOW(); diff --git a/components/db_ido_pgsql/idopgsqlconnection.cpp b/components/db_ido_pgsql/idopgsqlconnection.cpp index 32d363dd5..609275b1f 100644 --- a/components/db_ido_pgsql/idopgsqlconnection.cpp +++ b/components/db_ido_pgsql/idopgsqlconnection.cpp @@ -35,7 +35,7 @@ using namespace icinga; REGISTER_TYPE(IdoPgsqlConnection); -#define SCHEMA_VERSION "1.10.0" +#define SCHEMA_VERSION "1.11.0" void IdoPgsqlConnection::Start(void) { diff --git a/components/db_ido_pgsql/schema/pgsql.sql b/components/db_ido_pgsql/schema/pgsql.sql index 8d02a95e1..cf44549f4 100644 --- a/components/db_ido_pgsql/schema/pgsql.sql +++ b/components/db_ido_pgsql/schema/pgsql.sql @@ -4,9 +4,6 @@ -- -- Copyright (c) 2009-2013 Icinga Development Team (http://www.icinga.org) -- --- initial version: 2009-05-13 Markus Manzke --- current version: 2012-04-19 Michael Friedrich --- -- -------------------------------------------------------- -- @@ -947,6 +944,7 @@ CREATE TABLE icinga_programstatus ( modified_service_attributes INTEGER default 0, global_host_event_handler TEXT default '', global_service_event_handler TEXT default '', + config_dump_in_progress INTEGER default 0, CONSTRAINT PK_programstatus_id PRIMARY KEY (programstatus_id) , CONSTRAINT UQ_programstatus UNIQUE (instance_id) ) ; @@ -1557,5 +1555,5 @@ CREATE INDEX sla_idx_obj ON icinga_objects (objecttype_id, is_active, name1); -- set dbversion -- ----------------------------------------- -SELECT updatedbversion('1.10.0'); +SELECT updatedbversion('1.11.0');