method
find_type
find_type(field)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 309 def find_type(field) if field.type == Mysql::Field::TYPE_TINY && field.length > 1 TYPES.lookup(Mysql::Field::TYPE_LONG) else TYPES.lookup(field.type) end end