Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

remove unwanted `to_sym` call.
  • Loading branch information...
commit cd5918f78c3e7ee60bcfda193c18666eb43871a7 2 parents 83cb356 + b9c43e0
@senny senny authored
View
2  activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.