Method: DataType::Base#==

Defined in:
lib/dsl/data_type.rb

#==(compared_column) ⇒ Object



27
28
29
30
# File 'lib/dsl/data_type.rb', line 27

def ==(compared_column)
  # Ideally we should compare attributes, but unfortunately not all drivers report enough statistics for this
  column[:type] == compared_column[:type]
end