Skip to content

Commit

Permalink
Add parentheses around LIKE {table} per winton/acts_as_archive#30
Browse files Browse the repository at this point in the history
  • Loading branch information
rrw4 committed Dec 9, 2013
1 parent 5ae8a7e commit 52c390d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/also_migrate/migrator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def create_tables(config)
else
connection.execute(<<-SQL)
CREATE TABLE #{new_table}
LIKE #{config[:source]};
(LIKE #{config[:source]});
SQL
end
end
Expand Down

0 comments on commit 52c390d

Please sign in to comment.