mirror of https://github.com/rails/rails
Merge pull request #3622 from noefroidevaux/issue_3595
Fix pull request #3609
This commit is contained in:
commit
2ec8d52b0c
|
@ -127,7 +127,7 @@ module ActiveRecord
|
|||
|
||||
with_connection do |conn|
|
||||
conn.tables.each { |table| @tables[table] = true }
|
||||
@tables[name] = !@tables.key?(name) && conn.table_exists?(name)
|
||||
@tables[name] = conn.table_exists?(name) if !@tables.key?(name)
|
||||
end
|
||||
|
||||
@tables[name]
|
||||
|
|
Loading…
Reference in New Issue