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