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
503f8822
Commit
503f8822
authored
Apr 06, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop offenses
parent
1ac44911
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/ci/pipeline.rb
app/models/ci/pipeline.rb
+1
-1
db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb
...170402231018_remove_index_for_users_current_sign_in_at.rb
+1
-1
No files found.
app/models/ci/pipeline.rb
View file @
503f8822
...
...
@@ -70,7 +70,7 @@ module Ci
pipeline
.
update_duration
end
before_transition
:canceled
=>
any
-
[
:canceled
]
do
|
pipeline
|
before_transition
canceled:
any
-
[
:canceled
]
do
|
pipeline
|
pipeline
.
auto_canceled_by
=
nil
end
...
...
db/migrate/20170402231018_remove_index_for_users_current_sign_in_at.rb
View file @
503f8822
...
...
@@ -14,7 +14,7 @@ class RemoveIndexForUsersCurrentSignInAt < ActiveRecord::Migration
if
Gitlab
::
Database
.
postgresql?
execute
'DROP INDEX CONCURRENTLY index_users_on_current_sign_in_at;'
else
remove_index
:users
,
:current_sign_in_at
remove_
concurrent_
index
:users
,
:current_sign_in_at
end
end
end
...
...
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