Fix migrations on MySQL
This commit is contained in:
parent
f3a4f85449
commit
8fb976a3ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue