mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(irc): add bouncer/znc support (#951)
* feat(irc): add initial bouncer support * feat(irc): add bouncer fields to irc update form * fix: make fields optional * feat(db): add migrations
This commit is contained in:
parent
28f0b878e1
commit
2677c16ff8
8 changed files with 79 additions and 29 deletions
|
@ -45,6 +45,8 @@ CREATE TABLE irc_network
|
|||
auth_account TEXT,
|
||||
auth_password TEXT,
|
||||
invite_command TEXT,
|
||||
use_bouncer BOOLEAN,
|
||||
bouncer_addr TEXT,
|
||||
connected BOOLEAN,
|
||||
connected_since TIMESTAMP,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
|
@ -1141,4 +1143,9 @@ create index release_action_status_release_id_index
|
|||
|
||||
create index release_action_status_status_index
|
||||
on release_action_status (status);`,
|
||||
`ALTER TABLE irc_network
|
||||
ADD COLUMN use_bouncer BOOLEAN DEFAULT FALSE;
|
||||
|
||||
ALTER TABLE irc_network
|
||||
ADD COLUMN bouncer_addr TEXT;`,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue