Reset scheduler attribute information after changing it.
This commit is contained in:
parent
b2adc3cf57
commit
6bf1d11f4d
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ require 'setting'
|
|||
class SchedulerUpdate < ActiveRecord::Migration
|
||||
def up
|
||||
add_column :schedulers, :prio, :integer, :null => true
|
||||
Scheduler.reset_column_information
|
||||
Scheduler.create_or_update(
|
||||
:name => 'Import OTRS diff load',
|
||||
:method => 'Import::OTRS.diff_worker',
|
||||
|
|
Loading…
Reference in a new issue