diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-16 17:30:04 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-16 17:30:04 +0000 |
commit | f2acdbc3820f0f4f5ef76a0a64e73d2a320df91f (patch) | |
tree | 0602469ef10e4dab4b3975599eb4f919a501c1eb /extras/m_sqllog.sqlite3.sql | |
parent | 387f54199e9f335c58af888bdad5ddc1f5cf9bec (diff) |
OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'extras/m_sqllog.sqlite3.sql')
-rw-r--r-- | extras/m_sqllog.sqlite3.sql | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/extras/m_sqllog.sqlite3.sql b/extras/m_sqllog.sqlite3.sql index 020cda1d3..a0772e5e3 100644 --- a/extras/m_sqllog.sqlite3.sql +++ b/extras/m_sqllog.sqlite3.sql @@ -1 +1,34 @@ -CREATE TABLE ircd_log (
id integer primary key,
category_id integer,
nick integer,
host integer,
source integer,
dtime integer);
CREATE TABLE ircd_log_categories (
category_id integer primary key,
category text NOT NULL
);
INSERT INTO "ircd_log_categories" VALUES(1, 'Oper');
INSERT INTO "ircd_log_categories" VALUES(2, 'Kill');
INSERT INTO "ircd_log_categories" VALUES(3, 'Server Link');
INSERT INTO "ircd_log_categories" VALUES(4, 'G/Z/K/E Line');
INSERT INTO "ircd_log_categories" VALUES(5, 'Connect');
INSERT INTO "ircd_log_categories" VALUES(6, 'Disconnect');
INSERT INTO "ircd_log_categories" VALUES(7, 'Flooding');
INSERT INTO "ircd_log_categories" VALUES(8, 'Load Module');
CREATE TABLE ircd_log_actors (
id integer primary key,
actor text
);
CREATE TABLE ircd_log_hosts (
id integer primary key,
hostname text
);
\ No newline at end of file +CREATE TABLE ircd_log ( +id integer primary key, +category_id integer, +nick integer, +host integer, +source integer, +dtime integer); + + +CREATE TABLE ircd_log_categories ( + category_id integer primary key, + category text NOT NULL +); +INSERT INTO "ircd_log_categories" VALUES(1, 'Oper'); +INSERT INTO "ircd_log_categories" VALUES(2, 'Kill'); +INSERT INTO "ircd_log_categories" VALUES(3, 'Server Link'); +INSERT INTO "ircd_log_categories" VALUES(4, 'G/Z/K/E Line'); +INSERT INTO "ircd_log_categories" VALUES(5, 'Connect'); +INSERT INTO "ircd_log_categories" VALUES(6, 'Disconnect'); +INSERT INTO "ircd_log_categories" VALUES(7, 'Flooding'); +INSERT INTO "ircd_log_categories" VALUES(8, 'Load Module'); + + +CREATE TABLE ircd_log_actors ( + id integer primary key, + actor text +); + + +CREATE TABLE ircd_log_hosts ( + id integer primary key, + hostname text +); + |