summaryrefslogtreecommitdiff
path: root/docs/sql/sqloper.pgsql.sql
blob: 954bc84fa8becbbd466925f3e29f254d77caa1fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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" smallint NOT NULL DEFAULT 0,
    "active" smallint NOT NULL DEFAULT 1
);
ALTER TABLE ONLY ircd_opers
    ADD CONSTRAINT ircd_opers_pkey PRIMARY KEY (id);