Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-05-15 11:22:29 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-05-15 11:22:29 +0300
commit20ece0aac37ab38c6207bd3d0a4c6276275fb049 (patch)
treecd361f5b1ab5cfc732bacfabfdaa9b23c632f769 /db
parentb5bffbd4adc5005b8c9f7d82d68a01743fbf2f28 (diff)
Disable transaction for updating the table
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20170502070007_enable_auto_cancel_pending_pipelines_for_all.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/post_migrate/20170502070007_enable_auto_cancel_pending_pipelines_for_all.rb b/db/post_migrate/20170502070007_enable_auto_cancel_pending_pipelines_for_all.rb
index 0abc75a3ed6..a19b73fc114 100644
--- a/db/post_migrate/20170502070007_enable_auto_cancel_pending_pipelines_for_all.rb
+++ b/db/post_migrate/20170502070007_enable_auto_cancel_pending_pipelines_for_all.rb
@@ -1,6 +1,8 @@
class EnableAutoCancelPendingPipelinesForAll < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
+ disable_ddl_transaction!
+
DOWNTIME = false
def up