mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-28 05:56:37 +10:00
Fix migrations on MySQL
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user