mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
parent
ce1b1242e4
commit
a4b2c2134d
@ -35,7 +35,7 @@ using namespace icinga;
|
|||||||
|
|
||||||
REGISTER_TYPE(IdoMysqlConnection);
|
REGISTER_TYPE(IdoMysqlConnection);
|
||||||
|
|
||||||
#define SCHEMA_VERSION "1.10.0"
|
#define SCHEMA_VERSION "1.11.0"
|
||||||
|
|
||||||
void IdoMysqlConnection::Start(void)
|
void IdoMysqlConnection::Start(void)
|
||||||
{
|
{
|
||||||
|
@ -917,6 +917,7 @@ CREATE TABLE IF NOT EXISTS icinga_programstatus (
|
|||||||
modified_service_attributes int default 0,
|
modified_service_attributes int default 0,
|
||||||
global_host_event_handler TEXT character set latin1 default '',
|
global_host_event_handler TEXT character set latin1 default '',
|
||||||
global_service_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),
|
PRIMARY KEY (programstatus_id),
|
||||||
UNIQUE KEY instance_id (instance_id)
|
UNIQUE KEY instance_id (instance_id)
|
||||||
) ENGINE=InnoDB COMMENT='Current program status information';
|
) 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
|
-- 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();
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ using namespace icinga;
|
|||||||
|
|
||||||
REGISTER_TYPE(IdoPgsqlConnection);
|
REGISTER_TYPE(IdoPgsqlConnection);
|
||||||
|
|
||||||
#define SCHEMA_VERSION "1.10.0"
|
#define SCHEMA_VERSION "1.11.0"
|
||||||
|
|
||||||
void IdoPgsqlConnection::Start(void)
|
void IdoPgsqlConnection::Start(void)
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
--
|
--
|
||||||
-- Copyright (c) 2009-2013 Icinga Development Team (http://www.icinga.org)
|
-- 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 <michael.friedrich@univie.ac.at>
|
|
||||||
--
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
--
|
--
|
||||||
@ -947,6 +944,7 @@ CREATE TABLE icinga_programstatus (
|
|||||||
modified_service_attributes INTEGER default 0,
|
modified_service_attributes INTEGER default 0,
|
||||||
global_host_event_handler TEXT default '',
|
global_host_event_handler TEXT default '',
|
||||||
global_service_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 PK_programstatus_id PRIMARY KEY (programstatus_id) ,
|
||||||
CONSTRAINT UQ_programstatus UNIQUE (instance_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
|
-- set dbversion
|
||||||
-- -----------------------------------------
|
-- -----------------------------------------
|
||||||
|
|
||||||
SELECT updatedbversion('1.10.0');
|
SELECT updatedbversion('1.11.0');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user