Disable transaction when adding index for Ci::Pipeline

This commit is contained in:
Kamil Trzcinski 2016-07-18 14:01:57 +02:00
parent 550466dd34
commit a0260bb577

View file

@ -1,6 +1,8 @@
class AddIndexForPipelineUserId < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
def change
add_concurrent_index :ci_commits, :user_id
end