mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
a335004a91
Ref T8726. Modularizes the "Add Reviewers" and "Add Blocking Reviewers" Herald actions.
11 lines
349 B
SQL
11 lines
349 B
SQL
UPDATE {$NAMESPACE}_herald.herald_action a
|
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
|
ON a.ruleID = r.id
|
|
SET a.action = 'projects.add'
|
|
WHERE a.action = 'addprojects';
|
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
|
ON a.ruleID = r.id
|
|
SET a.action = 'projects.remove'
|
|
WHERE a.action = 'removeprojects';
|