Remove job reference in status

pull/8453/head
Oliver Günther 4 years ago
parent 57beed0316
commit 0bf2070741
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      app/models/delayed/job/status.rb

@ -3,8 +3,8 @@ module Delayed
class Status < ApplicationRecord class Status < ApplicationRecord
self.table_name = 'delayed_job_statuses' self.table_name = 'delayed_job_statuses'
belongs_to :user
belongs_to :reference, polymorphic: true belongs_to :reference, polymorphic: true
belongs_to :job, class_name: '::Delayed::Job'
enum status: { enum status: {
in_queue: 'in_queue', in_queue: 'in_queue',

Loading…
Cancel
Save