DEV: Update rubocop-discourse from 2.3.2 to 2.4.0 (#11079)

Also fixes whitespace related issues raised by rubocop.
This commit is contained in:
Jarek Radosz
2020-10-30 15:04:29 +01:00
committed by GitHub
parent af4938baf1
commit 2f4a1ff61b
10 changed files with 19 additions and 20 deletions

View File

@ -398,7 +398,7 @@ class ImportScripts::JForum < ImportScripts::Base
FROM jforum_karma k
WHERE k.points >= 2 AND ((k.post_id = #{last_post_id} AND k.from_user_id > #{last_user_id}) OR k.post_id > #{last_post_id})
AND EXISTS (SELECT 1 FROM jforum_posts p WHERE k.post_id = p.post_id)
AND EXISTS (SELECT 1 FROM jforum_users u WHERE k.from_user_id = u.user_id)
AND EXISTS (SELECT 1 FROM jforum_users u WHERE k.from_user_id = u.user_id)
ORDER BY k.post_id, k.from_user_id
LIMIT #{BATCH_SIZE}
SQL