lib/ridgepole/diff.rb in ridgepole-0.7.0.beta13 vs lib/ridgepole/diff.rb in ridgepole-0.7.0.beta14

- old
+ new

@@ -108,9 +108,14 @@ normalize_default_proc_options!(from, to) from_options = from[:options] || {} to_options = to[:options] || {} + if @options[:ignore_table_comment] + from.delete(:comment) + to.delete(:comment) + end + if @options[:mysql_change_table_options] and from_options != to_options and Ridgepole::ConnectionAdapters.mysql? from.delete(:options) to.delete(:options) table_delta[:table_options] = to_options end