Updated

db/migrate / 20160214233414_create_feedback.rb

A
10 lines of codes
1 methods
6.2 complexity/method
1 churn
6.23 complexity
0 duplications
class CreateFeedback < ActiveRecord::Migration
  1. CreateFeedback has no descriptive comment
def change create_table :feedback do |t|
  1. CreateFeedback#change has the variable name 't'
t.string :comment, limit: 32768, null: false
  1. CreateFeedback#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3
t.string :petition_link_or_title
  1. CreateFeedback#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3
t.string :email
  1. CreateFeedback#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3
t.string :user_agent
  1. CreateFeedback#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3
end end end