2024-07-01 12:57:04 +01:00
|
|
|
CREATE TYPE "autologin" AS ENUM (
|
|
|
|
'strict',
|
|
|
|
'relaxed',
|
|
|
|
'never'
|
|
|
|
);
|
|
|
|
|
2024-07-01 18:28:18 +01:00
|
|
|
CREATE TABLE IF NOT EXISTS "ircd_opers" (
|
2024-07-01 12:57:04 +01:00
|
|
|
"active" bool NOT NULL DEFAULT true,
|
2024-07-01 18:28:18 +01:00
|
|
|
|
2024-07-01 12:57:04 +01:00
|
|
|
"name" text NOT NULL,
|
|
|
|
"password" text NOT NULL,
|
|
|
|
"host" text NOT NULL,
|
|
|
|
"type" text NOT NULL,
|
|
|
|
|
|
|
|
"autologin" autologin,
|
|
|
|
"class" text,
|
|
|
|
"hash" text,
|
|
|
|
"maxchans" bigint,
|
|
|
|
"nopassword" bool,
|
|
|
|
"vhost" text,
|
|
|
|
|
|
|
|
"commands" text,
|
|
|
|
"privs" text,
|
|
|
|
"chanmodes" text,
|
|
|
|
"usermodes" text,
|
|
|
|
"snomasks" text,
|
|
|
|
|
|
|
|
"account" text,
|
|
|
|
"autojoin" text,
|
|
|
|
"automotd" bool,
|
|
|
|
"fingerprint" text,
|
|
|
|
"level" bigint,
|
|
|
|
"modes" text,
|
|
|
|
"motd" bool,
|
|
|
|
"override" text,
|
|
|
|
"sslonly" bool,
|
|
|
|
"swhois" text
|
2007-07-16 17:30:04 +00:00
|
|
|
);
|