Updated

db/migrate / 20150618233718_add_last_signed_at_to_petitions.rb

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