This fixes a bug in get_foreign_keys where the query being used currently also selects foreign keys from tables which have the same name as the one being reflected but are on different schemas, resulting in foreign keys from different tables getting reflected into the target table.
This fixes a bug in get_foreign_keys where the query being used currently also selects foreign keys from tables which have the same name as the one being reflected but are on different schemas, resulting in foreign keys from different tables getting reflected into the target table.