Sha256: 4db1c964ee9bec15f60230bb1bcff39ade2290da66202f7e360ac663352a4b5b

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 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

  self.table_name = 'branches'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-backup-0.3.0 lib/models/branch.rb