mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
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:
parent
af4938baf1
commit
2f4a1ff61b
10 changed files with 19 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue