Updated

db/migrate / 20150618134919_rename_description_to_additional_details.rb

A
6 lines of codes
1 methods
2.0 complexity/method
1 churn
2.0 complexity
0 duplications
class RenameDescriptionToAdditionalDetails < ActiveRecord::Migration
  1. RenameDescriptionToAdditionalDetails has no descriptive comment
def change rename_column :petitions, :description, :additional_details rename_index :petitions, 'index_petitions_on_description', 'index_petitions_on_additional_details' end end