Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stage.rb « ci « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59570924c8de1997747dbcdf12349b32165a4728 (plain)
1
2
3
4
5
6
7
8
9
10
11
module Ci
  class Stage < ActiveRecord::Base
    extend Ci::Model

    belongs_to :project
    belongs_to :pipeline

    has_many :statuses, class_name: 'CommitStatus', foreign_key: :commit_id
    has_many :builds, foreign_key: :commit_id
  end
end