Sha256: 1bdcded1d8cf0513b69ffae6504c2c1665075d85172e99a28aaa9dbe98f33f81

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

require 'model'

class Commit < Model
  belongs_to :related_branch, foreign_key: :branch_id, class_name: 'Branch'
  belongs_to :repository
  belongs_to :tag
  has_many :builds
  has_many :jobs
  has_many :requests

  self.table_name = 'commits'
end

Version data entries

1 entries across 1 versions & 1 rubygems

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