mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
14 lines
425 B
MySQL
14 lines
425 B
MySQL
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'diffusion.block'
|
||
|
WHERE r.contentType != 'differential.diff'
|
||
|
AND a.action = 'block';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'differential.block'
|
||
|
WHERE r.contentType = 'differential.diff'
|
||
|
AND a.action = 'block';
|