Skip to content

Commit

Permalink
pass string version of default value to mitigate unary freezing in core
Browse files Browse the repository at this point in the history
  • Loading branch information
steveny committed Feb 5, 2021
1 parent 3058c81 commit 97bfd7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def columns(table_name)
def new_column(name, default, sql_type_metadata, null, default_function = nil, collation = nil, comment = nil, sqlserver_options = {})
SQLServerColumn.new(
name,
default,
default.nil? ? nil : default.to_s
sql_type_metadata,
null,
default_function,
Expand Down

0 comments on commit 97bfd7b

Please sign in to comment.