Disable transaction for updating the table

This commit is contained in:
Lin Jen-Shin 2017-05-15 16:22:29 +08:00
parent b5bffbd4ad
commit 20ece0aac3
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
class EnableAutoCancelPendingPipelinesForAll < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
DOWNTIME = false
def up