📅  最后修改于: 2022-03-11 15:04:46.559000             🧑  作者: Mango
代码示例1
class RenameOldTableToNewTable < ActiveRecord::Migration
def change
rename_table :old_table_name, :new_table_name
end
end