method
has_default?
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter::Column
has_default?()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 29
def has_default?
return false if sql_type =~ /blob/ || type == :text #mysql forbids defaults on blob and text columns
super
end