# frozen_string_literal: true require 'model' class DeletedJob < Model self.inheritance_column = :_type_disabled belongs_to :source, polymorphic: true belongs_to :owner, polymorphic: true belongs_to :repository belongs_to :commit belongs_to :stage belongs_to :job_config, foreign_key: :config_id, class_name: 'JobConfig' self.primary_key = 'id' end