method
rename_table
rename_table(name, new_name)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 300 def rename_table(name, new_name) execute "RENAME TABLE #{name} TO #{new_name}" end