mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 22:44:11 -04:00
parent
f00c4e7af0
commit
16108c579d
4 changed files with 60 additions and 5 deletions
|
@ -14,8 +14,7 @@
|
|||
*/
|
||||
|
||||
|
||||
-- We may not have deleted all pushers for deactivated accounts. Do so now.
|
||||
--
|
||||
-- Note: We don't bother updating the `deleted_pushers` table as it's just use
|
||||
-- to stop pushers on workers, and that will happen when they get next restarted.
|
||||
DELETE FROM pushers WHERE user_name IN (SELECT name FROM users WHERE deactivated = 1);
|
||||
-- We may not have deleted all pushers for deactivated accounts, so we set up a
|
||||
-- background job to delete them.
|
||||
INSERT INTO background_updates (ordering, update_name, progress_json) VALUES
|
||||
(5908, 'remove_deactivated_pushers', '{}');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue