]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - extras/m_sqloper.postgresql.sql
Refactor m_sqloper to be a full opers.conf replacement (#983).
[user/henk/code/inspircd.git] / extras / m_sqloper.postgresql.sql
1 CREATE TABLE ircd_opers (
2     "id" serial NOT NULL,
3     "name" text NOT NULL,
4     "password" text NOT NULL,
5     "hash" text,
6     "host" text NOT NULL,
7     "type" text NOT NULL,
8     "fingerprint" text,
9     "autologin" boolean NOT NULL DEFAULT 0,
10     "active" boolean NOT NULL DEFAULT 1
11 );
12 ALTER TABLE ONLY ircd_opers
13     ADD CONSTRAINT ircd_opers_pkey PRIMARY KEY (id);