loosen new user of the month criteria slightly

This commit is contained in:
Jeff Atwood 2017-03-31 16:33:50 -07:00
parent c58f9d37ae
commit 3b64aeaf21
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ module Jobs
NOT(u.moderator) AND
u.created_at >= CURRENT_TIMESTAMP - '1 month'::INTERVAL
GROUP BY u.id
HAVING COUNT(DISTINCT p.id) > 3 AND COUNT(DISTINCT p.topic_id) > 1
HAVING COUNT(DISTINCT p.id) > 1 AND COUNT(DISTINCT p.topic_id) > 1
ORDER BY score DESC
LIMIT :max_awarded
SQL