mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This allows us to do DISTINCT on the topic_id to remove duplicates (e.g. in extensions to the report SQL), and also introduces an additional_join_sql string to allow extensions to JOIN additional tables.