mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 17:02:41 +01:00
28 lines
905 B
MySQL
28 lines
905 B
MySQL
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'differential.reviewers.blocking'
|
||
|
WHERE r.ruleType != 'personal'
|
||
|
AND a.action = 'addreviewers';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'differential.reviewers.self.blocking'
|
||
|
WHERE r.ruleType = 'personal'
|
||
|
AND a.action = 'addreviewers';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'differential.reviewers.add'
|
||
|
WHERE r.ruleType != 'personal'
|
||
|
AND a.action = 'addblockingreviewers';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON a.ruleID = r.id
|
||
|
SET a.action = 'differential.reviewers.self.add'
|
||
|
WHERE r.ruleType = 'personal'
|
||
|
AND a.action = 'addblockingreviewers';
|