mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 17:29:25 +00:00
Without checking if t.table_schema = '#{@schema}' the SELECT with JOIN in the script were returning every column twice in case there is a 'backup' scheme with exactly the same tables as in the 'public scheme'