core: inactive connections/members (#4009)

This commit is contained in:
spaced4ndy
2024-05-28 16:42:07 +04:00
committed by GitHub
parent d79b4dfb5a
commit 3d395b0e45
18 changed files with 226 additions and 46 deletions
@@ -289,6 +289,7 @@ CREATE TABLE connections(
pq_encryption INTEGER NOT NULL DEFAULT 0,
pq_snd_enabled INTEGER,
pq_rcv_enabled INTEGER,
quota_err_counter INTEGER NOT NULL DEFAULT 0,
FOREIGN KEY(snd_file_id, connection_id)
REFERENCES snd_files(file_id, connection_id)
ON DELETE CASCADE