diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2017-03-02 17:41:41 +0100 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2017-03-02 17:41:41 +0100 |
commit | 423032a1187cce0656fe6f54bd14d9372736e355 (patch) | |
tree | 24b514f53493f1847d0256025f93c72268b81dde /app/models | |
parent | e9d75a4b856513ce848c0a704cced54cff9f48f8 (diff) | |
download | gitlab-ce-423032a1187cce0656fe6f54bd14d9372736e355.tar.gz |
Add missing association for mock_ci_servicefix-build-mock-ci-service
Diffstat (limited to 'app/models')
-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 0c2494d3c32..0d8cdeb6fbc 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -113,6 +113,7 @@ class Project < ActiveRecord::Base has_one :gitlab_issue_tracker_service, dependent: :destroy, inverse_of: :project has_one :external_wiki_service, dependent: :destroy has_one :kubernetes_service, dependent: :destroy, inverse_of: :project + has_one :mock_ci_service, dependent: :destroy has_one :forked_project_link, dependent: :destroy, foreign_key: "forked_to_project_id" has_one :forked_from_project, through: :forked_project_link |