lib/automigration/db_column.rb in automigration-1.1.1 vs lib/automigration/db_column.rb in automigration-1.1.2
- old
+ new
@@ -18,10 +18,10 @@
def the_same?(other)
(__to_array <=> other.send(:__to_array)) == 0
end
def to_options
- options.reject{|k, v| v.nil?}
+ options.reject{|k, v| k != :default && v.nil?}
end
private
# compare only by 3 values
def __to_array