mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 19:55:43 +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'