20130219061532_change_ticket_escalation.rb 606 B

123456789101112131415
  1. class ChangeTicketEscalation < ActiveRecord::Migration
  2. def up
  3. add_column :tickets, :first_response_in_min, :integer, :null => true
  4. add_column :tickets, :first_response_diff_in_min, :integer, :null => true
  5. add_index :tickets, [:first_response_in_min]
  6. add_index :tickets, [:first_response_diff_in_min]
  7. add_column :tickets, :close_time_in_min, :integer, :null => true
  8. add_column :tickets, :close_time_diff_in_min, :integer, :null => true
  9. add_index :tickets, [:close_time_in_min]
  10. add_index :tickets, [:close_time_diff_in_min]
  11. end
  12. def down
  13. end
  14. end