Module: RedhillonrailsCore::ActiveRecord::ConnectionAdapters::MysqlColumn

Defined in:
lib/redhillonrails_core/active_record/connection_adapters/mysql_column.rb

Instance Method Summary collapse

Instance Method Details

#initialize(name, default, sql_type = nil, null = true) ⇒ Object



5
6
7
8
# File 'lib/redhillonrails_core/active_record/connection_adapters/mysql_column.rb', line 5

def initialize(name, default, sql_type = nil, null = true)
  default = nil if !null && default.blank?
  super
end