20160223000001_add_process_escalation_tickets.rb 311 B

12345678910111213
  1. class AddProcessEscalationTickets < ActiveRecord::Migration
  2. def up
  3. Scheduler.create_if_not_exists(
  4. name: 'Process escalation tickets',
  5. method: 'Ticket.process_escalation',
  6. period: 60 * 5,
  7. prio: 1,
  8. active: true,
  9. updated_by_id: 1,
  10. created_by_id: 1,
  11. )
  12. end
  13. end