Jan Dittberner
dc0da570ab
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@85 a67ec6bc-e5d5-0310-a910-815c51eb3124
25 lines
908 B
SQL
25 lines
908 B
SQL
# Table structure for table `logs`
|
|
|
|
CREATE DATABASE syslog;
|
|
|
|
USE syslog;
|
|
|
|
CREATE TABLE logs (host varchar(32) default NULL,
|
|
facility varchar(10) default NULL,
|
|
priority varchar(10) default NULL,
|
|
level varchar(10) default NULL,
|
|
tag varchar(10) default NULL,
|
|
date date default NULL,
|
|
time time default NULL,
|
|
program varchar(15) default NULL,
|
|
msg text,
|
|
seq int(10) unsigned NOT NULL auto_increment,
|
|
PRIMARY KEY (seq),
|
|
KEY host (host),
|
|
KEY seq (seq),
|
|
KEY program (program),
|
|
KEY time (time),
|
|
KEY date (date),
|
|
KEY priority (priority),
|
|
KEY facility (facility)
|
|
) TYPE=MyISAM;
|