@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1UPDATE {$NAMESPACE}_herald.herald_action a
2 JOIN {$NAMESPACE}_herald.herald_rule r
3 ON a.ruleID = r.id
4 SET a.action = 'diffusion.block'
5 WHERE r.contentType != 'differential.diff'
6 AND a.action = 'block';
7
8UPDATE {$NAMESPACE}_herald.herald_action a
9 JOIN {$NAMESPACE}_herald.herald_rule r
10 ON a.ruleID = r.id
11 SET a.action = 'differential.block'
12 WHERE r.contentType = 'differential.diff'
13 AND a.action = 'block';