Merge pull request #15359 from kuldeepaggarwal/f-remove-unwanted_to_sym

remove unwanted `to_sym` call.
This commit is contained in:
Yves Senn 2014-05-27 14:53:48 +02:00
commit cd5918f78c

@ -5,7 +5,7 @@ class SchemaCreation < AbstractAdapter::SchemaCreation
private
def visit_AddColumn(o)
sql_type = type_to_sql(o.type.to_sym, o.limit, o.precision, o.scale)
sql_type = type_to_sql(o.type, o.limit, o.precision, o.scale)
sql = "ADD COLUMN #{quote_column_name(o.name)} #{sql_type}"
add_column_options!(sql, column_options(o))
end