Sha256: d0342ebd9d66a5205542c86496c60d0e1bca360910dbd1fd27480d04a6519e52

Contents?: true

Size: 442 Bytes

Versions: 3

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

module GoodJob
  # Active Record model that represents an +ActiveJob+ job.
  # Most behavior is currently in BaseExecution in anticipation of
  # moving behavior into +GoodJob::Job+.
  class Execution < BaseExecution
    self.table_name = 'good_jobs'

    belongs_to :job, class_name: 'GoodJob::Job', foreign_key: 'active_job_id', primary_key: 'active_job_id', optional: true, inverse_of: :executions
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
good_job-3.99.1 app/models/good_job/execution.rb
good_job-3.99.0 app/models/good_job/execution.rb
good_job-3.30.1 app/models/good_job/execution.rb