# File lib/active_record/connection_adapters/abstract_adapter.rb, line 435 def type_to_sql(type, limit = nil) native = native_database_types[type] limit ||= native[:limit] column_type_sql = native[:name] column_type_sql << "(#{limit})" if limit column_type_sql end