lib/legion/extensions/scheduler/data/models/schedule.rb in lex-scheduler-0.1.1 vs lib/legion/extensions/scheduler/data/models/schedule.rb in lex-scheduler-0.1.2
- old
+ new
@@ -1,7 +1,7 @@
module Legion::Extensions::Scheduler::Data::Model
class Schedule < Sequel::Model
one_to_many :schedule_logs
- many_to_one :task
- many_to_one :function
+ # many_to_one :task, class: Legion::Data::Model::Task
+ many_to_one :function, class: '::Legion::Data::Model::Function'
end
end