Sha256: 585eb91be6ddf7a3b0c153ae24be37a74dd4d0d171443050677814d2801b74bf

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

require 'model'

class Branch < Model
  belongs_to :last_build, foreign_key: :last_build_id, class_name: 'Build'
  belongs_to :repository
  has_many :builds
  has_many :commits
  has_many :crons
  has_many :jobs, as: :source
  has_many :requests

  has_many :deleted_builds
  has_many :deleted_commits
  has_many :deleted_jobs, as: :source
  has_many :deleted_requests
end

Version data entries

1 entries across 1 versions & 1 rubygems

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