summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-09-25 18:54:08 +0200
committerAlessio Caiazza <acaiazza@gitlab.com>2017-10-05 15:42:25 +0200
commit91f8e734fee1f9e7a16573f7185c48f442e3bb5e (patch)
treef9eb25a636c95a3bf1bbeaec09b0c36cefc7a7b9 /app/models/project.rb
parentf685c368eaa223035b9458b704cfd6ca768f0f7d (diff)
downloadgitlab-ce-91f8e734fee1f9e7a16573f7185c48f442e3bb5e.tar.gz
Add CI build trace sections extractor
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 59b5a5b3cd7..4d4d028dd7e 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -179,6 +179,7 @@ class Project < ActiveRecord::Base
# bulk that doesn't involve loading the rows into memory. As a result we're
# still using `dependent: :destroy` here.
has_many :builds, class_name: 'Ci::Build', dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent
+ has_many :build_trace_section_names, class_name: 'Ci::BuildTraceSectionName'
has_many :runner_projects, class_name: 'Ci::RunnerProject'
has_many :runners, through: :runner_projects, source: :runner, class_name: 'Ci::Runner'
has_many :variables, class_name: 'Ci::Variable'