From 4718cec54aad3e95fed207d81e099df685553cb8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 1 Jul 2024 12:57:04 +0100 Subject: Add a DBML schema for the sqloper module and update the tables. --- docs/sql/sqloper/schema.dbml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 docs/sql/sqloper/schema.dbml (limited to 'docs/sql/sqloper/schema.dbml') 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 +} -- cgit v1.3.1-10-gc9f91