summaryrefslogtreecommitdiffstats
path: root/createDB.sql
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-06-11 07:32:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-06-11 07:32:47 +0000
commit460ce198b1aaa81f36f28dd8791ff7e0ad6a3387 (patch)
treeb342a1d32cfd30c6042b6292fae5659bbef34ce7 /createDB.sql
parent706fb36966f2c3c90946b3c4bb10f16eb2ab0eb5 (diff)
downloadrsyslog-460ce198b1aaa81f36f28dd8791ff7e0ad6a3387.tar.gz
rsyslog-460ce198b1aaa81f36f28dd8791ff7e0ad6a3387.tar.xz
rsyslog-460ce198b1aaa81f36f28dd8791ff7e0ad6a3387.zip
applied a patch from Peter Vrabec (Thanks!) to integrate klogd into the
rsyslog package. That removes dependency on the original sysklogd package.
Diffstat (limited to 'createDB.sql')
-rw-r--r--createDB.sql74
1 files changed, 37 insertions, 37 deletions
diff --git a/createDB.sql b/createDB.sql
index 10eabd69..211cfb0e 100644
--- a/createDB.sql
+++ b/createDB.sql
@@ -1,37 +1,37 @@
-CREATE DATABASE Syslog;
-USE Syslog;
-CREATE TABLE SystemEvents
-(
- ID int unsigned not null auto_increment primary key,
- CustomerID bigint,
- ReceivedAt datetime NULL,
- DeviceReportedTime datetime NULL,
- Facility smallint NULL,
- Priority smallint NULL,
- FromHost varchar(60) NULL,
- Message text,
- NTSeverity int NULL,
- Importance int NULL,
- EventSource varchar(60),
- EventUser varchar(60) NULL,
- EventCategory int NULL,
- EventID int NULL,
- EventBinaryData text NULL,
- MaxAvailable int NULL,
- CurrUsage int NULL,
- MinUsage int NULL,
- MaxUsage int NULL,
- InfoUnitID int NULL ,
- SysLogTag varchar(60),
- EventLogType varchar(60),
- GenericFileName VarChar(60),
- SystemID int NULL
-);
-
-CREATE TABLE SystemEventsProperties
-(
- ID int unsigned not null auto_increment primary key,
- SystemEventID int NULL ,
- ParamName varchar(255) NULL ,
- ParamValue text NULL
-); \ No newline at end of file
+CREATE DATABASE Syslog;
+USE Syslog;
+CREATE TABLE SystemEvents
+(
+ ID int unsigned not null auto_increment primary key,
+ CustomerID bigint,
+ ReceivedAt datetime NULL,
+ DeviceReportedTime datetime NULL,
+ Facility smallint NULL,
+ Priority smallint NULL,
+ FromHost varchar(60) NULL,
+ Message text,
+ NTSeverity int NULL,
+ Importance int NULL,
+ EventSource varchar(60),
+ EventUser varchar(60) NULL,
+ EventCategory int NULL,
+ EventID int NULL,
+ EventBinaryData text NULL,
+ MaxAvailable int NULL,
+ CurrUsage int NULL,
+ MinUsage int NULL,
+ MaxUsage int NULL,
+ InfoUnitID int NULL ,
+ SysLogTag varchar(60),
+ EventLogType varchar(60),
+ GenericFileName VarChar(60),
+ SystemID int NULL
+);
+
+CREATE TABLE SystemEventsProperties
+(
+ ID int unsigned not null auto_increment primary key,
+ SystemEventID int NULL ,
+ ParamName varchar(255) NULL ,
+ ParamValue text NULL
+);