# File lib/active_record/connection_adapters/mysql2_adapter.rb, line 40 def has_default? return false if sql_type =~ /blob/i || type == :text # mysql forbids defaults on blob and text columns super end