Commit 5fd82794 authored by Can Eldem's avatar Can Eldem Committed by Yannis Roussos

Fix the migration that adds the idx_container_scanning_findings index

parent 97661e6c
---
title: Fix rollback portion of migration that adds temporary index for container scanning findings
merge_request: 44593
author:
type: fixed
...@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment