mirror of https://github.com/Icinga/icinga2.git
parent
3048a02064
commit
1f3c6b454f
|
@ -33,7 +33,7 @@
|
|||
|
||||
using namespace icinga;
|
||||
|
||||
#define SCHEMA_VERSION "1.11.6"
|
||||
#define SCHEMA_VERSION "1.11.7"
|
||||
|
||||
REGISTER_TYPE(IdoMysqlConnection);
|
||||
REGISTER_STATSFUNCTION(IdoMysqlConnectionStats, &IdoMysqlConnection::StatsFunc);
|
||||
|
|
|
@ -900,6 +900,7 @@ CREATE TABLE IF NOT EXISTS icinga_programstatus (
|
|||
status_update_time timestamp default '0000-00-00 00:00:00',
|
||||
program_start_time timestamp default '0000-00-00 00:00:00',
|
||||
program_end_time timestamp default '0000-00-00 00:00:00',
|
||||
endpoint_name varchar(255) character set latin1 collate latin1_general_cs default NULL,
|
||||
is_currently_running smallint default 0,
|
||||
process_id bigint unsigned default 0,
|
||||
daemon_mode smallint default 0,
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
-- -----------------------------------------
|
||||
-- upgrade path for Icinga 2.1.0
|
||||
--
|
||||
-- -----------------------------------------
|
||||
-- Copyright (c) 2014 Icinga Development Team (http://www.icinga.org)
|
||||
--
|
||||
-- Please check http://docs.icinga.org for upgrading information!
|
||||
-- -----------------------------------------
|
||||
|
||||
ALTER TABLE `icinga_programstatus` ADD COLUMN `endpoint_name` varchar(255) character set latin1 collate latin1_general_cs default NULL;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- update dbversion
|
||||
-- -----------------------------------------
|
||||
|
||||
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.11.7', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.11.7', modify_time=NOW();
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
using namespace icinga;
|
||||
|
||||
#define SCHEMA_VERSION "1.11.6"
|
||||
#define SCHEMA_VERSION "1.11.7"
|
||||
|
||||
REGISTER_TYPE(IdoPgsqlConnection);
|
||||
|
||||
|
|
|
@ -928,6 +928,7 @@ CREATE TABLE icinga_programstatus (
|
|||
program_start_time timestamp with time zone default '1970-01-01 00:00:00',
|
||||
program_end_time timestamp with time zone default '1970-01-01 00:00:00',
|
||||
is_currently_running INTEGER default 0,
|
||||
endpoint_name TEXT default '',
|
||||
process_id bigint default 0,
|
||||
daemon_mode INTEGER default 0,
|
||||
last_command_check timestamp with time zone default '1970-01-01 00:00:00',
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
-- -----------------------------------------
|
||||
-- upgrade path for Icinga 2.1.0
|
||||
--
|
||||
-- -----------------------------------------
|
||||
-- Copyright (c) 2014 Icinga Development Team (http://www.icinga.org)
|
||||
--
|
||||
-- Please check http://docs.icinga.org for upgrading information!
|
||||
-- -----------------------------------------
|
||||
|
||||
ALTER TABLE icinga_programstatus ADD COLUMN endpoint_name TEXT default NULL;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- update dbversion
|
||||
-- -----------------------------------------
|
||||
|
||||
SELECT updatedbversion('1.11.7');
|
||||
|
Loading…
Reference in New Issue