mirror of
https://github.com/discourse/discourse.git
synced 2026-08-02 01:28:14 -05:00
remove invalid join
This commit is contained in:
@@ -91,7 +91,6 @@ SQL
|
||||
(
|
||||
SELECT i.user_id, MIN(i.id) i_id
|
||||
FROM incoming_links i
|
||||
JOIN topics t on t.id = i.topic_id
|
||||
JOIN badge_posts p on p.id = i.post_id
|
||||
WHERE i.user_id IS NOT NULL
|
||||
GROUP BY i.user_id
|
||||
|
||||
Reference in New Issue
Block a user