feat(filters): set default Announce Type to NEW (#1890)

feat(filters): set default announce type NEW
This commit is contained in:
ze0s 2024-12-25 23:38:56 +01:00 committed by GitHub
parent 2c0672f4bc
commit ea20fb4f50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 3 deletions

View file

@ -1340,12 +1340,16 @@ CREATE INDEX release_cut_index
CREATE INDEX release_hybrid_index
ON "release" (hybrid);
`,
`UPDATE irc_channel
`UPDATE irc_channel
SET name = '#ptp-announce'
WHERE name = '#ptp-announce-dev';
UPDATE irc_network
SET invite_command = REPLACE(invite_command, '#ptp-announce-dev', '#ptp-announce')
WHERE invite_command LIKE '%#ptp-announce-dev%';
`,
`UPDATE filter
SET announce_types = '{"NEW"}'
WHERE announce_types = '{}';
`,
}