Updated

db/migrate / 20150612103324_drop_system_settings.rb

B
11 lines of codes
1 methods
7.4 complexity/method
1 churn
7.42 complexity
25 duplications
class DropSystemSettings < ActiveRecord::Migration
  1. DropSystemSettings has no descriptive comment
def change
  1. DropSystemSettings#change has approx 6 statements
drop_table :system_settings do |t|
  1. Similar code found in 2 nodes Locations: 0 1
  2. DropSystemSettings#change has the variable name 't'
t.string :key, limit: 64, null: false
  1. DropSystemSettings#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3 4
t.text :value
  1. DropSystemSettings#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3 4
t.text :description
  1. DropSystemSettings#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3 4
t.datetime :created_at
  1. DropSystemSettings#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3 4
t.datetime :updated_at
  1. DropSystemSettings#change refers to 't' more than self (maybe move it to another class?) Locations: 0 1 2 3 4
end end end