Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
423032a1
Commit
423032a1
authored
Mar 02, 2017
by
Adam Niedzielski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing association for mock_ci_service
parent
e9d75a4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
app/models/project.rb
app/models/project.rb
+1
-0
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+1
-0
No files found.
app/models/project.rb
View file @
423032a1
...
@@ -113,6 +113,7 @@ class Project < ActiveRecord::Base
...
@@ -113,6 +113,7 @@ class Project < ActiveRecord::Base
has_one
:gitlab_issue_tracker_service
,
dependent: :destroy
,
inverse_of: :project
has_one
:gitlab_issue_tracker_service
,
dependent: :destroy
,
inverse_of: :project
has_one
:external_wiki_service
,
dependent: :destroy
has_one
:external_wiki_service
,
dependent: :destroy
has_one
:kubernetes_service
,
dependent: :destroy
,
inverse_of: :project
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_project_link
,
dependent: :destroy
,
foreign_key:
"forked_to_project_id"
has_one
:forked_from_project
,
through: :forked_project_link
has_one
:forked_from_project
,
through: :forked_project_link
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
423032a1
...
@@ -153,6 +153,7 @@ project:
...
@@ -153,6 +153,7 @@ project:
-
gitlab_issue_tracker_service
-
gitlab_issue_tracker_service
-
external_wiki_service
-
external_wiki_service
-
kubernetes_service
-
kubernetes_service
-
mock_ci_service
-
forked_project_link
-
forked_project_link
-
forked_from_project
-
forked_from_project
-
forked_project_links
-
forked_project_links
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment