mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(notifications): add Pushover (#598)
* feat(notifications): add pushover * add db migration * fix lint error * some small corrections * fixed README * added missing columns to postgres_migrate.go * use token for user_key * refactor(notifications): change priority to int * fix: only test selected events --------- Co-authored-by: soup <soup@r4tio.dev> Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
parent
1b8f2fce3c
commit
da5492febb
12 changed files with 290 additions and 37 deletions
|
@ -300,6 +300,7 @@ CREATE TABLE notification
|
|||
rooms TEXT,
|
||||
targets TEXT,
|
||||
devices TEXT,
|
||||
priority INTEGER DEFAULT 0,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
@ -671,4 +672,6 @@ ADD COLUMN download_url TEXT;
|
|||
SET except_tags_match_logic = 'ANY'
|
||||
WHERE except_tags IS NOT NULL;
|
||||
`,
|
||||
`ALTER TABLE notification
|
||||
ADD COLUMN priority INTEGER DEFAULT 0;`,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue