Updated

db/migrate / 20150619075903_add_response_threshold_reached_at_to_petition.rb

A
8 lines of codes
1 methods
3.5 complexity/method
1 churn
3.54 complexity
0 duplications
class AddResponseThresholdReachedAtToPetition < ActiveRecord::Migration
  1. AddResponseThresholdReachedAtToPetition has no descriptive comment
def change change_table :petitions do |t|
  1. AddResponseThresholdReachedAtToPetition#change has the variable name 't'
t.datetime :response_threshold_reached_at
  1. AddResponseThresholdReachedAtToPetition#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1
t.index :response_threshold_reached_at
  1. AddResponseThresholdReachedAtToPetition#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1
end end end