HURRAH FOR SID3WINDR

git-svn-id: http://www.observium.org/svn/observer/trunk@560 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-12-28 12:00:57 +00:00
parent 03f45837ac
commit 211e9d0283
11 changed files with 37 additions and 32 deletions

View File

@@ -213,14 +213,14 @@ CREATE TABLE `devices` (
`hardware` text,
`features` text,
`location` text,
`os` varchar(8) default NULL,
`os` varchar(12) default NULL,
`status` tinyint(4) NOT NULL default '0',
`ignore` tinyint(4) NOT NULL default '0',
`disabled` tinyint(1) NOT NULL default '0',
`lastchange` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`last_polled` timestamp NOT NULL default '0000-00-00 00:00:00',
`purpose` varchar(64) default NULL,
`type` varchar(8) NOT NULL default 'other',
`type` varchar(8) NOT NULL default 'unknown',
PRIMARY KEY (`device_id`),
KEY `status` (`status`),
KEY `hostname` (`hostname`),