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
Léo-Paul Géneau
gitlab-ce
Commits
4ffc2a71
Commit
4ffc2a71
authored
Nov 07, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert add action follow up 2
parent
16fc61d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
db/migrate/20181106135939_add_index_to_deployments.rb
db/migrate/20181106135939_add_index_to_deployments.rb
+0
-4
No files found.
db/migrate/20181106135939_add_index_to_deployments.rb
View file @
4ffc2a71
...
...
@@ -8,8 +8,6 @@ class AddIndexToDeployments < ActiveRecord::Migration
disable_ddl_transaction!
def
up
remove_concurrent_index
:deployments
,
[
:project_id
,
:status
]
remove_concurrent_index
:deployments
,
[
:environment_id
,
:status
]
add_concurrent_index
:deployments
,
[
:project_id
,
:status
,
:id
]
add_concurrent_index
:deployments
,
[
:project_id
,
:status
,
:iid
]
add_concurrent_index
:deployments
,
[
:environment_id
,
:status
,
:id
]
...
...
@@ -18,8 +16,6 @@ class AddIndexToDeployments < ActiveRecord::Migration
end
def
down
add_concurrent_index
:deployments
,
[
:project_id
,
:status
]
add_concurrent_index
:deployments
,
[
:environment_id
,
:status
]
remove_concurrent_index
:deployments
,
[
:project_id
,
:status
,
:id
]
remove_concurrent_index
:deployments
,
[
:project_id
,
:status
,
:iid
]
remove_concurrent_index
:deployments
,
[
:environment_id
,
:status
,
: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