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