mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix pull request #3609
This commit is contained in:
parent
df300a754b
commit
bf6efa8d9c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue