20160307084729_add_deactivated_to_agents.rb 195 B

123456
  1. class AddDeactivatedToAgents < ActiveRecord::Migration[4.2]
  2. def change
  3. add_column :agents, :deactivated, :boolean, default: false
  4. add_index :agents, [:disabled, :deactivated]
  5. end
  6. end