Updated

db/migrate / 20150622083615_add_debate_threshold_reached_at_to_petitions.rb

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