Updated

db/migrate / 20190328191633_add_additional_rates_to_rate_limits.rb

A
7 lines of codes
1 methods
3.6 complexity/method
1 churn
3.6 complexity
0 duplications
class AddAdditionalRatesToRateLimits < ActiveRecord::Migration
  1. AddAdditionalRatesToRateLimits has no descriptive comment
def change add_column :rate_limits, :country_burst_rate, :integer, null: false, default: 1 add_column :rate_limits, :country_sustained_rate, :integer, null: false, default: 60 add_column :rate_limits, :country_rate_limits_enabled, :boolean, null: false, default: false end end