aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sql/sqloper/schema.dbml
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-07-01 12:57:04 +0100
committerGravatar Sadie Powell2024-07-01 13:14:04 +0100
commit4718cec54aad3e95fed207d81e099df685553cb8 (patch)
treee48cfb4deb9fbbbeb807dc1423361e5cce3fa9ee /docs/sql/sqloper/schema.dbml
parentFix the log_sql module schema allowing null columns. (diff)
Add a DBML schema for the sqloper module and update the tables.
Diffstat (limited to 'docs/sql/sqloper/schema.dbml')
-rw-r--r--docs/sql/sqloper/schema.dbml43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/sql/sqloper/schema.dbml b/docs/sql/sqloper/schema.dbml
new file mode 100644
index 000000000..e39c38e72
--- /dev/null
+++ b/docs/sql/sqloper/schema.dbml
@@ -0,0 +1,43 @@
+Enum autologin {
+ strict
+ relaxed
+ never
+}
+
+Table ircd_opers {
+ // internal to sqloper
+ active bool [default: true, not null]
+
+ // core oper config (required)
+ name text [not null]
+ password text [not null]
+ host text [not null]
+ type text [not null]
+
+ // core oper config (optional)
+ autologin autologin [null]
+ class text [null]
+ hash text [null]
+ maxchans bigint [null]
+ nopassword bool [null]
+ vhost text [null]
+
+ // core type config
+ commands text [null]
+ privs text [null]
+ chanmodes text [null]
+ usermodes text [null]
+ snomasks text [null]
+
+ // module config
+ account text [null] // account
+ autojoin text [null] // operjoin
+ automotd bool [null] // opermotd
+ fingerprint text [null] // sslinfo
+ level bigint [null] // operlevels
+ modes text [null] // opermodes
+ motd bool [null] // opermotd
+ override text [null] // override
+ sslonly bool [null] // sslinfo
+ swhois text [null] // swhois
+}