Public discord webhook (#492)

This commit is contained in:
Geometrically
2022-12-06 19:51:03 -07:00
committed by GitHub
parent e96d23cc3f
commit e809f77461
16 changed files with 1391 additions and 905 deletions

View File

@@ -0,0 +1,9 @@
-- Add migration script here
ALTER TABLE mods ADD COLUMN webhook_sent BOOL NOT NULL DEFAULT FALSE;
UPDATE mods
SET webhook_sent = (status = 'approved');
UPDATE mods
SET status = 'withheld'
WHERE status = 'unlisted';