class ModifyIcoDeadlineClassSetting < ActiveRecord::DataMigration
  def up
    CorrespondenceType.all.each do |ct|
      if ct.abbreviation == 'ICO'
        ct.update_attributes(
          deadline_calculator_class: "BusinessDays", 
          internal_time_limit: 10, 
          escalation_time_limit: 3)
      end
    end
  end
end