loosen new user of the month criteria slightly
This commit is contained in:
parent
c58f9d37ae
commit
3b64aeaf21
|
@ -54,7 +54,7 @@ module Jobs
|
||||||
NOT(u.moderator) AND
|
NOT(u.moderator) AND
|
||||||
u.created_at >= CURRENT_TIMESTAMP - '1 month'::INTERVAL
|
u.created_at >= CURRENT_TIMESTAMP - '1 month'::INTERVAL
|
||||||
GROUP BY u.id
|
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
|
ORDER BY score DESC
|
||||||
LIMIT :max_awarded
|
LIMIT :max_awarded
|
||||||
SQL
|
SQL
|
||||||
|
|
Loading…
Reference in New Issue