mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-05 12:22:30 +00:00
core: different roles for different protocols (#5185)
* core: different roles for different protocols * include current conditions in responses * fix * fix test * fix --------- Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
This commit is contained in:
@@ -15,8 +15,10 @@ CREATE TABLE server_operators (
|
||||
legal_name TEXT,
|
||||
server_domains TEXT,
|
||||
enabled INTEGER NOT NULL DEFAULT 1,
|
||||
role_storage INTEGER NOT NULL DEFAULT 1,
|
||||
role_proxy INTEGER NOT NULL DEFAULT 1,
|
||||
smp_role_storage INTEGER NOT NULL DEFAULT 1,
|
||||
smp_role_proxy INTEGER NOT NULL DEFAULT 1,
|
||||
xftp_role_storage INTEGER NOT NULL DEFAULT 1,
|
||||
xftp_role_proxy INTEGER NOT NULL DEFAULT 1,
|
||||
created_at TEXT NOT NULL DEFAULT (datetime('now')),
|
||||
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
||||
);
|
||||
|
||||
@@ -596,8 +596,10 @@ CREATE TABLE server_operators(
|
||||
legal_name TEXT,
|
||||
server_domains TEXT,
|
||||
enabled INTEGER NOT NULL DEFAULT 1,
|
||||
role_storage INTEGER NOT NULL DEFAULT 1,
|
||||
role_proxy INTEGER NOT NULL DEFAULT 1,
|
||||
smp_role_storage INTEGER NOT NULL DEFAULT 1,
|
||||
smp_role_proxy INTEGER NOT NULL DEFAULT 1,
|
||||
xftp_role_storage INTEGER NOT NULL DEFAULT 1,
|
||||
xftp_role_proxy INTEGER NOT NULL DEFAULT 1,
|
||||
created_at TEXT NOT NULL DEFAULT(datetime('now')),
|
||||
updated_at TEXT NOT NULL DEFAULT(datetime('now'))
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user