mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-05 13:16:14 +01:00
14 lines
417 B
MySQL
14 lines
417 B
MySQL
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'diffusion.auditors.add'
|
||
|
WHERE r.ruleType != 'personal'
|
||
|
AND a.action = 'audit';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'diffusion.auditors.self.add'
|
||
|
WHERE r.ruleType = 'personal'
|
||
|
AND a.action = 'audit';
|