You've already forked AstralRinth
forked from didirus/AstralRinth
Public discord webhook (#492)
This commit is contained in:
9
migrations/20221206221021_webhook-sent.sql
Normal file
9
migrations/20221206221021_webhook-sent.sql
Normal 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';
|
||||
Reference in New Issue
Block a user