method
has_default?

Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::MysqlColumn
has_default?()
public
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 83 def has_default? return false if sql_type =~ /blob/ || type == :text #mysql forbids defaults on blob and text columns super end