Skip to content

Commit

Permalink
Fix frozen string concatenation by indicating that it's mutable
Browse files Browse the repository at this point in the history
References 89bcca5
  • Loading branch information
jeremy committed Feb 17, 2018
1 parent 933bbb9 commit d352d81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def visit_PrimaryKeyDefinition(o)
end

def visit_ForeignKeyDefinition(o)
sql = <<~SQL
sql = +<<~SQL
CONSTRAINT #{quote_column_name(o.name)}
FOREIGN KEY (#{quote_column_name(o.column)})
REFERENCES #{quote_table_name(o.to_table)} (#{quote_column_name(o.primary_key)})
Expand Down

0 comments on commit d352d81

Please sign in to comment.