blob: 157670600ccdd8786f2d2e6b8871fe6748820269 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Index: rsyslog/createDB.sql
===================================================================
--- rsyslog.orig/createDB.sql 2007-08-30 01:05:00.000000000 +0200
+++ rsyslog/createDB.sql 2007-08-30 01:07:50.000000000 +0200
@@ -1,6 +1,4 @@
-CREATE DATABASE Syslog;
-USE Syslog;
-CREATE TABLE SystemEvents
+CREATE TABLE IF NOT EXISTS SystemEvents
(
ID int unsigned not null auto_increment primary key,
CustomerID bigint,
@@ -28,7 +26,7 @@
SystemID int NULL
);
-CREATE TABLE SystemEventsProperties
+CREATE TABLE IF NOT EXISTS SystemEventsProperties
(
ID int unsigned not null auto_increment primary key,
SystemEventID int NULL ,
|