summaryrefslogtreecommitdiff
path: root/extras/m_sqloper.mysql.sql
diff options
context:
space:
mode:
Diffstat (limited to 'extras/m_sqloper.mysql.sql')
-rw-r--r--extras/m_sqloper.mysql.sql11
1 files changed, 7 insertions, 4 deletions
diff --git a/extras/m_sqloper.mysql.sql b/extras/m_sqloper.mysql.sql
index f43495806..a8a2b7e1d 100644
--- a/extras/m_sqloper.mysql.sql
+++ b/extras/m_sqloper.mysql.sql
@@ -1,9 +1,12 @@
CREATE TABLE ircd_opers (
id bigint(20) NOT NULL auto_increment,
- username text,
- password text,
- hostname text,
- type text,
+ 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;