Updated

db/migrate / 20150618144922_rename_title_to_action.rb

A
6 lines of codes
1 methods
2.0 complexity/method
1 churn
2.0 complexity
0 duplications
class RenameTitleToAction < ActiveRecord::Migration
  1. RenameTitleToAction has no descriptive comment
def change rename_column :petitions, :title, :action rename_index :petitions, 'index_petitions_on_title', 'index_petitions_on_action' end end