--- /dev/null
+CREATE TABLE ircd_opers (
+ id bigint(20) NOT NULL auto_increment,
+ name text NOT NULL,
+ password text NOT NULL,
+ hash text,
+ host text NOT NULL,
+ type text NOT NULL,
+ fingerprint text,
+ autologin tinyint(1) NOT NULL DEFAULT 0,
+ active tinyint(1) NOT NULL DEFAULT 1,
+ PRIMARY KEY (id)
+) ENGINE=MyISAM;
--- /dev/null
+CREATE TABLE ircd_opers (
+ "id" serial NOT NULL,
+ "name" text NOT NULL,
+ "password" text NOT NULL,
+ "hash" text,
+ "host" text NOT NULL,
+ "type" text NOT NULL,
+ "fingerprint" text,
+ "autologin" boolean NOT NULL DEFAULT 0,
+ "active" boolean NOT NULL DEFAULT 1
+);
+ALTER TABLE ONLY ircd_opers
+ ADD CONSTRAINT ircd_opers_pkey PRIMARY KEY (id);
--- /dev/null
+CREATE TABLE ircd_opers (
+id integer primary key,
+name text NOT NULL,
+password text NOT NULL,
+hash text,
+host text NOT NULL,
+type text NOT NULL,
+fingerprint text,
+autologin integer NOT NULL DEFAULT 0,
+active integer NOT NULL DEFAULT 1);
+++ /dev/null
-CREATE TABLE ircd_opers (
- id bigint(20) NOT NULL auto_increment,
- name text NOT NULL,
- password text NOT NULL,
- hash text,
- host text NOT NULL,
- type text NOT NULL,
- fingerprint text,
- autologin tinyint(1) NOT NULL DEFAULT 0,
- active tinyint(1) NOT NULL DEFAULT 1,
- PRIMARY KEY (id)
-) ENGINE=MyISAM;
+++ /dev/null
-CREATE TABLE ircd_opers (
- "id" serial NOT NULL,
- "name" text NOT NULL,
- "password" text NOT NULL,
- "hash" text,
- "host" text NOT NULL,
- "type" text NOT NULL,
- "fingerprint" text,
- "autologin" boolean NOT NULL DEFAULT 0,
- "active" boolean NOT NULL DEFAULT 1
-);
-ALTER TABLE ONLY ircd_opers
- ADD CONSTRAINT ircd_opers_pkey PRIMARY KEY (id);
+++ /dev/null
-CREATE TABLE ircd_opers (
-id integer primary key,
-name text NOT NULL,
-password text NOT NULL,
-hash text,
-host text NOT NULL,
-type text NOT NULL,
-fingerprint text,
-autologin integer NOT NULL DEFAULT 0,
-active integer NOT NULL DEFAULT 1);
@-$(INSTALL) -d -o $(INSTUID) -m $(INSTMODE_DIR) $(LOGPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(BINPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/services
+ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/sql
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(MANPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(MODPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(SCRPATH)
-$(INSTALL) -m $(INSTMODE_BIN) tools/genssl $(BINPATH)/inspircd-genssl 2>/dev/null
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)/examples
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/services/*.example $(CONPATH)/examples/services
+ -$(INSTALL) -m $(INSTMODE_LIB) docs/sql/*.sql $(CONPATH)/examples/sql
-$(INSTALL) -m $(INSTMODE_LIB) *.pem $(CONPATH) 2>/dev/null
@echo ""
@echo "*************************************"