提交 8fb976a3 编写于 作者: K Kamil Trzcinski

Fix migrations on MySQL

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册