Updated

db/migrate / 20160820132056_add_blacklist_to_rate_limits.rb

A
6 lines of codes
1 methods
2.6 complexity/method
1 churn
2.6 complexity
0 duplications
class AddBlacklistToRateLimits < ActiveRecord::Migration
  1. AddBlacklistToRateLimits has no descriptive comment
def change add_column :rate_limits, :domain_blacklist, :string, null: false, limit: 50000, default: "" add_column :rate_limits, :ip_blacklist, :string, null: false, limit: 50000, default: "" end end