Add support for disabling channel logging

This commit is contained in:
2023-09-21 20:07:25 +02:00
parent 549c84c6ef
commit 6c2bf4aacf
4 changed files with 52 additions and 19 deletions

View File

@@ -1,7 +1,8 @@
create table channels(id int primary key not null,
server_id int not null, -- foreign key in servers table
name text not null,
public int not null
public int not null,
enabled int not null
);
create table users(id int primary key not null,
@@ -13,7 +14,8 @@ create table users(id int primary key not null,
create table servers(id int primary key not null,
name text not null,
host text not null,
port int not null
port int not null,
enabled int not null
);
create table accessors(user_id int not null, -- foreign key in users table