mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 15:34:16 +08:00
remove invalid join
This commit is contained in:
parent
03c8f09be8
commit
0ccb8e17cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user