Permalink
Browse files

fix mysql builds

  • Loading branch information...
1 parent 78e4862 commit 5098bca97d22fd5318eac012ecfbbd5c34c3231d @lukesteensen lukesteensen committed Mar 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -30,7 +30,7 @@ def visit_ChangeColumnDefinition(o)
options = o.options
sql_type = type_to_sql(o.type, options[:limit], options[:precision], options[:scale])
change_column_sql = "CHANGE #{quote_column_name(column.name)} #{quote_column_name(options[:name])} #{sql_type}"
- add_column_options!(change_column_sql, options)
+ add_column_options!(change_column_sql, options.merge(column: column))
add_column_position!(change_column_sql, options)
end

0 comments on commit 5098bca

Please sign in to comment.