summaryrefslogtreecommitdiff
path: root/docs/sql
diff options
context:
space:
mode:
authorB00mX0r <b00mx0r@aureus.pw>2019-04-19 15:28:19 -0700
committerPeter Powell <petpow@saberuk.com>2019-04-28 00:03:30 +0100
commit2533dc10f987eedb99d780c7debd948f22705679 (patch)
tree9cf6d7eae0dfa9f651a4063f718c3bf51dc02f72 /docs/sql
parent23033e286fdbc47525b21f257d4828da653b9b42 (diff)
Fix compatibility issues between sqloper and postgres
Diffstat (limited to 'docs/sql')
-rw-r--r--docs/sql/sqloper.pgsql.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sql/sqloper.pgsql.sql b/docs/sql/sqloper.pgsql.sql
index 0b3cdb8dc..954bc84fa 100644
--- a/docs/sql/sqloper.pgsql.sql
+++ b/docs/sql/sqloper.pgsql.sql
@@ -6,8 +6,8 @@ CREATE TABLE ircd_opers (
"host" text NOT NULL,
"type" text NOT NULL,
"fingerprint" text,
- "autologin" boolean NOT NULL DEFAULT 0,
- "active" boolean NOT NULL DEFAULT 1
+ "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);