mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-25 18:59:12 +02:00
Added new table into database template script
This commit is contained in:
parent
f173f4cae2
commit
e2981567d1
@ -112,7 +112,7 @@ CREATE TABLE IF NOT EXISTS `logcon_views` (
|
||||
`userid` int(11) default NULL,
|
||||
`groupid` int(11) default NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Stores custom defined user views.' AUTO_INCREMENT=1 ;
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Stores custom defined user views.' AUTO_INCREMENT=1 ;
|
||||
|
||||
--
|
||||
-- Table structure for table `logcon_charts`
|
||||
@ -131,7 +131,7 @@ CREATE TABLE IF NOT EXISTS `logcon_charts` (
|
||||
`userid` int(11) default NULL,
|
||||
`groupid` int(11) default NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='This table contains all configured charts' AUTO_INCREMENT=1 ;
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='This table contains all configured charts' AUTO_INCREMENT=1 ;
|
||||
|
||||
--
|
||||
-- Table structure for table `logcon_fields`
|
||||
@ -151,3 +151,15 @@ CREATE TABLE `logcon_fields` (
|
||||
`Trunscate` int(11) NOT NULL,
|
||||
PRIMARY KEY (`FieldID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='This table stores custom fields';
|
||||
|
||||
--
|
||||
-- Table structure for table `logcon_dbmappings`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `logcon_dbmappings`;
|
||||
CREATE TABLE `logcon_dbmappings` (
|
||||
`ID` int(11) NOT NULL auto_increment,
|
||||
`DisplayName` varchar(64) NOT NULL,
|
||||
`Mappings` varchar(1024) NOT NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
||||
|
@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS `logcon_charts` (
|
||||
`userid` int(11) default NULL,
|
||||
`groupid` int(11) default NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='This table contains all configured charts' AUTO_INCREMENT=1 ;
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='This table contains all configured charts' AUTO_INCREMENT=1 ;
|
||||
|
||||
-- Insert data
|
||||
INSERT INTO `logcon_charts` (`ID`, `DisplayName`, `chart_enabled`, `chart_type`, `chart_width`, `chart_field`, `maxrecords`, `showpercent`, `userid`, `groupid`) VALUES (1, 'Top Hosts', 1, 3, 400, 'FROMHOST', 10, 0, NULL, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user