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
5fd82794
Commit
5fd82794
authored
Oct 07, 2020
by
Can Eldem
Committed by
Yannis Roussos
Oct 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the migration that adds the idx_container_scanning_findings index
parent
97661e6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/patch-migration.yml
changelogs/unreleased/patch-migration.yml
+5
-0
db/migrate/20200820105408_add_index_to_container_scanning_findings.rb
...0200820105408_add_index_to_container_scanning_findings.rb
+1
-1
No files found.
changelogs/unreleased/patch-migration.yml
0 → 100644
View file @
5fd82794
---
title
:
Fix rollback portion of migration that adds temporary index for container scanning findings
merge_request
:
44593
author
:
type
:
fixed
db/migrate/20200820105408_add_index_to_container_scanning_findings.rb
View file @
5fd82794
...
@@ -15,6 +15,6 @@ class AddIndexToContainerScanningFindings < ActiveRecord::Migration[6.0]
...
@@ -15,6 +15,6 @@ class AddIndexToContainerScanningFindings < ActiveRecord::Migration[6.0]
end
end
def
down
def
down
remove_concurrent_index_by_name
(
:
project_registry
,
INDEX_NAME
)
remove_concurrent_index_by_name
(
:
vulnerability_occurrences
,
INDEX_NAME
)
end
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