Skip to content
Snippets Groups Projects
Commit 8fb976a3 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Fix migrations on MySQL

parent f3a4f854
No related branches found
No related tags found
2 merge requests!4779Test/#123 Master,!3653Ci::Commit becomes a Pipeline object
Pipeline #
Loading
Loading
@@ -10,6 +10,10 @@ class AddCiCommitIndexes < ActiveRecord::Migration
private
 
def index_options
{ algorithm: :concurrently } if Gitlab::Database.postgresql?
if Gitlab::Database.postgresql?
{ algorithm: :concurrently }
else
{ }
end
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