Disable transaction when adding index for Ci::Pipeline
This commit is contained in:
parent
550466dd34
commit
a0260bb577
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue