rails generate migration rename_title_to_name_in_tasks class RenameTitleToNameInTasks < ActiveRecord::Migration[6.0] def change rename_column :tasks, :title, :name end end