Merge branch 'develop'
This commit is contained in:
@ -26,7 +26,7 @@ class ReviewerReminder
|
||||
from reviewer_votes rev
|
||||
inner join users u on u.id = rev.user_id
|
||||
inner join candidates c on c.id = rev.candidate_id
|
||||
where rev.vote = 0 and rev.veto = 0
|
||||
where rev.vote = 0 and c.review_status = 0
|
||||
and u.role != 'manager' and u.active is not false;"
|
||||
ActiveRecord::Base.connection.exec_query(sql)
|
||||
end
|
||||
|
Reference in New Issue
Block a user