Update of /cvsroot/nagios-db/nagios-db/database/mysql
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28221
Modified Files:
schema.sql
Log Message:
Add configured flag for keeping hostgroup/servicegroups across restarts.
Index: schema.sql
===================================================================
RCS file: /cvsroot/nagios-db/nagios-db/database/mysql/schema.sql,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** schema.sql 16 Jan 2005 20:19:55 -0000 1.2
--- schema.sql 29 Jan 2005 05:01:38 -0000 1.3
***************
*** 86,90 ****
`check_type` int(11) NOT NULL default '0',
`performance_data` text,
- `current_notification_number` int(11) default NULL,
UNIQUE KEY `host_check_unique_index` (`hostid`,`check_command`),
KEY `host_check_hostid_index` (`hostid`),
--- 86,89 ----
***************
*** 117,120 ****
--- 116,120 ----
`name` varchar(64) NOT NULL default '' COMMENT 'the name of this hostgroup; how nagios keeps things unique, len from nagios MAX_HOSTNAME_LENGTH',
`alias` text,
+ `configured` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
***************
*** 178,182 ****
`check_type` int(11) NOT NULL default '0',
`performance_data` text,
- `current_notification_number` int(11) default NULL,
UNIQUE KEY `service_check_unique_index` (`serviceid`,`check_command`),
KEY `service_check_serviceid_index` (`serviceid`),
--- 178,181 ----
***************
*** 209,212 ****
--- 208,212 ----
`name` varchar(64) NOT NULL default '' COMMENT 'the name of thie servicegroup; how nagios keeps things unique, len from nagios MAX_HOSTNAME_LENGTH',
`alias` text,
+ `configured` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
|