From 4ec475ba10b65785277ed9dab5f99775289165b3 Mon Sep 17 00:00:00 2001
From: Dylan Frank
Date: Fri, 6 Apr 2018 10:34:15 -0700
Subject: Refactor m_sqloper to be a full opers.conf replacement (#983).

m_sqloper now supports dynamic fields, works with m_sslinfo, and works with /stats o.---
 extras/m_sqloper.sqlite3.sql | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'extras/m_sqloper.sqlite3.sql')

diff --git a/extras/m_sqloper.sqlite3.sql b/extras/m_sqloper.sqlite3.sql
index 1c607e664..6aec5a118 100644
--- a/extras/m_sqloper.sqlite3.sql
+++ b/extras/m_sqloper.sqlite3.sql
@@ -1,7 +1,10 @@
 CREATE TABLE ircd_opers (
 id integer primary key,
-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 integer NOT NULL DEFAULT 0,
 active integer NOT NULL DEFAULT 1);
-- 
cgit v1.3.1-10-gc9f91

