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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
510c0093
Commit
510c0093
authored
Jun 11, 2021
by
Mehmet Emin INAC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set AR reflection classes consistently
parent
4fc0940f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ee/lib/ee/gitlab/background_migration/populate_latest_pipeline_ids.rb
...tlab/background_migration/populate_latest_pipeline_ids.rb
+3
-3
No files found.
ee/lib/ee/gitlab/background_migration/populate_latest_pipeline_ids.rb
View file @
510c0093
...
...
@@ -40,7 +40,7 @@ module EE
self
.
table_name
=
'namespaces'
belongs_to
:parent
,
class_name:
'EE::Gitlab::BackgroundMigration::PopulateLatestPipelineIds::Namespace'
belongs_to
:parent
,
class_name:
'
::
EE::Gitlab::BackgroundMigration::PopulateLatestPipelineIds::Namespace'
def
self
.
find_sti_class
(
type_name
)
super
(
"EE::Gitlab::BackgroundMigration::PopulateLatestPipelineIds::
#{
type_name
}
"
)
...
...
@@ -118,8 +118,8 @@ module EE
alias_method
:parent
,
:namespace
has_many
:all_pipelines
,
class_name:
'::EE::Gitlab::BackgroundMigration::PopulateLatestPipelineIds::Pipeline'
has_one
:project_setting
,
class_name:
'::Gitlab::BackgroundMigration::PopulateLatestPipelineIds::ProjectSetting'
has_one
:route
,
as: :source
,
class_name:
'::Gitlab::BackgroundMigration::PopulateLatestPipelineIds::Route'
has_one
:project_setting
,
class_name:
'::
EE::
Gitlab::BackgroundMigration::PopulateLatestPipelineIds::ProjectSetting'
has_one
:route
,
as: :source
,
class_name:
'::
EE::
Gitlab::BackgroundMigration::PopulateLatestPipelineIds::Route'
def
self
.
polymorphic_name
'Project'
...
...
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