diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-23 16:32:17 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-23 16:32:17 +0000 |
commit | f739ba5db707493428b1f144b8fa45426acacc77 (patch) | |
tree | 512cf2e1c8b76c4e71c5b526ea4d60c8ca1b3d29 /extras | |
parent | 3e87dae328c282016472f02fa5cc0431a922bcdc (diff) |
Added schema for m_sqllog.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1166 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'extras')
-rw-r--r-- | extras/m_sqllog.schema.sql | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/extras/m_sqllog.schema.sql b/extras/m_sqllog.schema.sql new file mode 100644 index 000000000..dc0bc3f23 --- /dev/null +++ b/extras/m_sqllog.schema.sql @@ -0,0 +1,78 @@ +-- MySQL dump 9.11 +-- +-- Host: localhost Database: brain +-- ------------------------------------------------------ +-- Server version 4.0.20 + +-- +-- Table structure for table `ircd_log` +-- + +CREATE TABLE ircd_log ( + id bigint(20) NOT NULL auto_increment, + category_id bigint(20) NOT NULL default '0', + nick bigint(20) default NULL, + host bigint(20) default NULL, + source bigint(20) default NULL, + date bigint(20) NOT NULL default '0', + PRIMARY KEY (id) +) TYPE=MyISAM; + +-- +-- Dumping data for table `ircd_log` +-- + + +-- +-- Table structure for table `ircd_log_categories` +-- + +CREATE TABLE ircd_log_categories ( + category_id bigint(20) NOT NULL default '0', + category text NOT NULL, + PRIMARY KEY (category_id) +) TYPE=MyISAM; + +-- +-- Dumping data for table `ircd_log_categories` +-- + +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'); + +-- +-- Table structure for table `ircd_log_actors` +-- + +CREATE TABLE ircd_log_actors ( + id bigint(20) NOT NULL auto_increment, + actor text, + PRIMARY KEY (id) +) TYPE=MyISAM; + +-- +-- Dumping data for table `ircd_log_actors` +-- + + +-- +-- Table structure for table `ircd_log_hosts` +-- + +CREATE TABLE ircd_log_hosts ( + id bigint(20) NOT NULL auto_increment, + hostname text, + PRIMARY KEY (id) +) TYPE=MyISAM; + +-- +-- Dumping data for table `ircd_log_hosts` +-- + + |