From 6bf1d11f4ddc15540a3ba6e4328f4b5082f339a3 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 8 Dec 2013 21:32:54 +0100 Subject: [PATCH] Reset scheduler attribute information after changing it. --- db/migrate/20130502000001_scheduler_update.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrate/20130502000001_scheduler_update.rb b/db/migrate/20130502000001_scheduler_update.rb index 5ba8c9861..b8c92487b 100644 --- a/db/migrate/20130502000001_scheduler_update.rb +++ b/db/migrate/20130502000001_scheduler_update.rb @@ -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',