Merge pull request #15359 from kuldeepaggarwal/f-remove-unwanted_to_sym
remove unwanted `to_sym` call.
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user