feat(releases): action status show filter and client (#338)

* feat(releases): action status show client and filter

* feat(releases): add better tooltip
This commit is contained in:
Ludvig Lundgren 2022-07-06 17:30:41 +02:00 committed by GitHub
parent a1ce74761e
commit 31fbe013ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 106 additions and 46 deletions

View file

@ -225,6 +225,8 @@ CREATE TABLE release_action_status
status TEXT,
action TEXT NOT NULL,
type TEXT NOT NULL,
client TEXT,
filter TEXT,
rejections TEXT [] DEFAULT '{}' NOT NULL,
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
raw TEXT,
@ -805,6 +807,13 @@ CREATE INDEX release_torrent_name_index
CREATE INDEX indexer_identifier_index
ON indexer (identifier);
`,
`
ALTER TABLE release_action_status
ADD COLUMN client;
ALTER TABLE release_action_status
ADD COLUMN filter;
`,
}
const postgresSchema = `
@ -1049,6 +1058,8 @@ CREATE TABLE release_action_status
status TEXT,
action TEXT NOT NULL,
type TEXT NOT NULL,
client TEXT,
filter TEXT,
rejections TEXT [] DEFAULT '{}' NOT NULL,
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
raw TEXT,
@ -1292,4 +1303,11 @@ CREATE INDEX release_torrent_name_index
CREATE INDEX indexer_identifier_index
ON indexer (identifier);
`,
`
ALTER TABLE release_action_status
ADD COLUMN client;
ALTER TABLE release_action_status
ADD COLUMN filter;
`,
}