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
f2b7da4b
Commit
f2b7da4b
authored
Apr 01, 2019
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove additional logging
parent
b2fb3a9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
lib/gitlab/background_migration/sync_issues_state_id.rb
lib/gitlab/background_migration/sync_issues_state_id.rb
+0
-2
lib/gitlab/background_migration/sync_merge_requests_state_id.rb
...tlab/background_migration/sync_merge_requests_state_id.rb
+0
-2
No files found.
lib/gitlab/background_migration/sync_issues_state_id.rb
View file @
f2b7da4b
...
@@ -5,8 +5,6 @@ module Gitlab
...
@@ -5,8 +5,6 @@ module Gitlab
module
BackgroundMigration
module
BackgroundMigration
class
SyncIssuesStateId
class
SyncIssuesStateId
def
perform
(
start_id
,
end_id
)
def
perform
(
start_id
,
end_id
)
Gitlab
::
AppLogger
.
info
(
"Issues - Populating state_id:
#{
start_id
}
-
#{
end_id
}
"
)
ActiveRecord
::
Base
.
connection
.
execute
<<~
SQL
ActiveRecord
::
Base
.
connection
.
execute
<<~
SQL
UPDATE issues
UPDATE issues
SET state_id =
SET state_id =
...
...
lib/gitlab/background_migration/sync_merge_requests_state_id.rb
View file @
f2b7da4b
...
@@ -5,8 +5,6 @@ module Gitlab
...
@@ -5,8 +5,6 @@ module Gitlab
module
BackgroundMigration
module
BackgroundMigration
class
SyncMergeRequestsStateId
class
SyncMergeRequestsStateId
def
perform
(
start_id
,
end_id
)
def
perform
(
start_id
,
end_id
)
Rails
.
logger
.
info
(
"Merge Requests - Populating state_id:
#{
start_id
}
-
#{
end_id
}
"
)
ActiveRecord
::
Base
.
connection
.
execute
<<~
SQL
ActiveRecord
::
Base
.
connection
.
execute
<<~
SQL
UPDATE merge_requests
UPDATE merge_requests
SET state_id =
SET state_id =
...
...
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