Skip to content
Snippets Groups Projects
Commit 9c25acc9 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Add the guard clause in #down method too

parent 2bd5dadb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -15,6 +15,8 @@ class AddIndexToCiBuildsArtifactsFile < ActiveRecord::Migration
end
 
def down
return unless Gitlab::Database.postgresql?
remove_concurrent_index :ci_builds, :artifacts_file
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment