Sha256: 5e83dfdacb472b62b49997c64b3ccba9668f9caaa49166daea129be0fe4359d8

Contents?: true

Size: 703 Bytes

Versions: 1

Compression:

Stored size: 703 Bytes

Contents

# frozen_string_literal: true

require 'model'

class DeletedRequest < Model
  belongs_to :owner, polymorphic: true
  belongs_to :sender, polymorphic: true
  belongs_to :repository
  belongs_to :branch
  belongs_to :pull_request
  belongs_to :tag
  belongs_to :commit
  belongs_to :request_yaml_configs
  belongs_to :request_configs
  self.primary_key = 'id'
  # has_many :abuses
  # has_many :messages, as: :subject
  # has_many :jobs, as: :source
  # has_many :builds
  # has_many :request_payloads
  # has_many :request_raw_configurations
  # has_many :deleted_jobs, as: :source
  # has_many :deleted_builds
  # has_many :deleted_request_payloads
  # has_many :deleted_request_raw_configurations
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-backup-for-v3-0.1.0 lib/models/deleted_request.rb