mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 01:29:03 -05:00
Fix some minor issues with the sqloper schemas.
- Only create the pgsql table if it doesn't exist. - Separate the active column out from others.
This commit is contained in:
parent
4718cec54a
commit
f166ef0a70
@ -1,5 +1,6 @@
|
||||
CREATE TABLE IF NOT EXISTS `ircd_opers` (
|
||||
`active` bool NOT NULL DEFAULT true,
|
||||
|
||||
`name` text NOT NULL,
|
||||
`password` text NOT NULL,
|
||||
`host` text NOT NULL,
|
||||
|
@ -4,8 +4,9 @@ CREATE TYPE "autologin" AS ENUM (
|
||||
'never'
|
||||
);
|
||||
|
||||
CREATE TABLE "ircd_opers" (
|
||||
CREATE TABLE IF NOT EXISTS "ircd_opers" (
|
||||
"active" bool NOT NULL DEFAULT true,
|
||||
|
||||
"name" text NOT NULL,
|
||||
"password" text NOT NULL,
|
||||
"host" text NOT NULL,
|
||||
|
@ -1,5 +1,6 @@
|
||||
CREATE TABLE IF NOT EXISTS "ircd_opers" (
|
||||
"active" bool NOT NULL DEFAULT true,
|
||||
|
||||
"name" text NOT NULL,
|
||||
"password" text NOT NULL,
|
||||
"host" text NOT NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user