Skip to content

Commit

Permalink
Merge 03eb1d8 into a4e9168
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Feb 25, 2024
2 parents a4e9168 + 03eb1d8 commit 42229d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ridgepole/delta.rb
Expand Up @@ -308,7 +308,7 @@ def append_drop_table(table_name, _attrs, buf)
def append_change_table_options(table_name, table_options, buf)
# XXX: MySQL only
buf.puts(<<-RUBY)
execute "ALTER TABLE #{ActiveRecord::Base.connection.quote_table_name(table_name)} #{table_options}"
execute "ALTER TABLE #{ActiveRecord::Base.connection.quote_table_name(table_name)} #{table_options.dump[1..-2]}"
RUBY

buf.puts
Expand Down

0 comments on commit 42229d2

Please sign in to comment.