summaryrefslogtreecommitdiff
path: root/extras/m_sqllog.postgresql.sql
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-16 17:14:45 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-16 17:14:45 +0000
commitbab14f0dd2345c9d7dcbc47c918563709e1ac094 (patch)
tree753a23cfc9fc08c6697e80b3e686f074aa911d85 /extras/m_sqllog.postgresql.sql
parent3abff3a37550cc1d88dd4d1fd7ed526e89309a53 (diff)
'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'extras/m_sqllog.postgresql.sql')
-rw-r--r--extras/m_sqllog.postgresql.sql52
1 files changed, 1 insertions, 51 deletions
diff --git a/extras/m_sqllog.postgresql.sql b/extras/m_sqllog.postgresql.sql
index 2e40dd90d..561dba16d 100644
--- a/extras/m_sqllog.postgresql.sql
+++ b/extras/m_sqllog.postgresql.sql
@@ -1,51 +1 @@
---
--- PostgreSQL database dump
---
-
-CREATE TABLE ircd_log (
- id serial NOT NULL,
- category_id bigint,
- nick bigint,
- host bigint,
- source bigint,
- dtime bigint DEFAULT 0 NOT NULL
-);
-ALTER TABLE ONLY ircd_log
- ADD CONSTRAINT ircd_log_pkey PRIMARY KEY (id);
-
-
-
-CREATE TABLE ircd_log_actors (
- id serial NOT NULL,
- actor text
-);
-ALTER TABLE ONLY ircd_log_actors
- ADD CONSTRAINT ircd_log_actors_pkey PRIMARY KEY (id);
-
-
-
-CREATE TABLE ircd_log_categories (
- category_id serial NOT NULL,
- 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');
-
-ALTER TABLE ONLY ircd_log_categories
- ADD CONSTRAINT ircd_log_categories_pkey PRIMARY KEY (category_id);
-
-
-
-CREATE TABLE ircd_log_hosts (
- id serial NOT NULL,
- hostname text
-);
-ALTER TABLE ONLY ircd_log_hosts
- ADD CONSTRAINT ircd_log_hosts_pkey PRIMARY KEY (id);
+-- -- PostgreSQL database dump -- CREATE TABLE ircd_log ( id serial NOT NULL, category_id bigint, nick bigint, host bigint, source bigint, dtime bigint DEFAULT 0 NOT NULL ); ALTER TABLE ONLY ircd_log ADD CONSTRAINT ircd_log_pkey PRIMARY KEY (id); CREATE TABLE ircd_log_actors ( id serial NOT NULL, actor text ); ALTER TABLE ONLY ircd_log_actors ADD CONSTRAINT ircd_log_actors_pkey PRIMARY KEY (id); CREATE TABLE ircd_log_categories ( category_id serial NOT NULL, 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'); ALTER TABLE ONLY ircd_log_categories ADD CONSTRAINT ircd_log_categories_pkey PRIMARY KEY (category_id); CREATE TABLE ircd_log_hosts ( id serial NOT NULL, hostname text ); ALTER TABLE ONLY ircd_log_hosts ADD CONSTRAINT ircd_log_hosts_pkey PRIMARY KEY (id); \ No newline at end of file