Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Best guess at merging 96003cb.

  • Loading branch information...
commit 85a2212ecb63d7879c5ee722f18d467fa3ade092 1 parent 2043fa5
Simon Harris authored
View
2  lib/red_hill_consulting/core/active_record/connection_adapters/mysql5_adapter.rb
@@ -24,7 +24,7 @@ def reverse_foreign_keys(table_name, name = nil)
foreign_keys = []
results.each do |row|
- next if row[3] != table_name
+ next unless table_name.casecmp(row[3]) == 0
if current_foreign_key != row[0]
foreign_keys << ForeignKeyDefinition.new(row[0], row[1], [], row[3], [])
current_foreign_key = row[0]
Please sign in to comment.
Something went wrong with that request. Please try again.