diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-15 16:22:29 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-15 16:22:29 +0800 |
commit | 20ece0aac37ab38c6207bd3d0a4c6276275fb049 (patch) | |
tree | cd361f5b1ab5cfc732bacfabfdaa9b23c632f769 /db | |
parent | b5bffbd4adc5005b8c9f7d82d68a01743fbf2f28 (diff) | |
download | gitlab-ce-20ece0aac37ab38c6207bd3d0a4c6276275fb049.tar.gz |
Disable transaction for updating the table
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20170502070007_enable_auto_cancel_pending_pipelines_for_all.rb | 2 |
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 |