class ActiveRecord::ConnectionAdapters::MysqlColumn

def has_default?

def has_default?
  return false if sql_type =~ /blob/i || type == :text #mysql forbids defaults on blob and text columns
  super
end