diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-19 00:06:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-19 00:06:34 +0300 |
commit | e4c711546c693fff89b0b1c92f1b0dde927e0c84 (patch) | |
tree | 2afa79ebbb72960fd54f1392e0a18031a1d9ee54 /app/models/project.rb | |
parent | b08279013423a66f06f5edde4e067f328fe135bd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 7c065db9829..18afccf7ddc 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -273,6 +273,7 @@ class Project < ApplicationRecord has_many :builds, class_name: 'Ci::Build', inverse_of: :project, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent has_many :build_trace_section_names, class_name: 'Ci::BuildTraceSectionName' has_many :build_trace_chunks, class_name: 'Ci::BuildTraceChunk', through: :builds, source: :trace_chunks + has_many :job_artifacts, class_name: 'Ci::JobArtifact' has_many :runner_projects, class_name: 'Ci::RunnerProject', inverse_of: :project has_many :runners, through: :runner_projects, source: :runner, class_name: 'Ci::Runner' has_many :variables, class_name: 'Ci::Variable' |