lib/ridgepole/diff.rb in ridgepole-0.8.3 vs lib/ridgepole/diff.rb in ridgepole-0.8.4

- old
+ new

@@ -563,13 +563,13 @@ parent_label = "#{parent_table}.id" child_label = "#{child_table}.#{column_name}" label_len = [parent_label.length, child_label.length].max - @logger.warn(format(<<-MSG, label_len, parent_label, label_len, child_label)) + @logger.warn(format(<<-MSG, parent_label: parent_label, child_label: child_label)) [WARNING] Relation column type is different. - %*s: #{parent_column_info} - %*s: #{child_column_info} + %<parent_label>#{label_len}s: #{parent_column_info} + %<child_label>#{label_len}s: #{child_column_info} MSG end end end