Add missing association for mock_ci_service
This commit is contained in:
parent
e9d75a4b85
commit
423032a118
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -153,6 +153,7 @@ project:
|
|||
- gitlab_issue_tracker_service
|
||||
- external_wiki_service
|
||||
- kubernetes_service
|
||||
- mock_ci_service
|
||||
- forked_project_link
|
||||
- forked_from_project
|
||||
- forked_project_links
|
||||
|
|
Loading…
Reference in a new issue