Commit 8fb976a3 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix migrations on MySQL

parent f3a4f854
......@@ -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
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