Disable statement timeout in CI pipelines migration

This commit is contained in:
Grzegorz Bizon 2017-06-19 14:45:50 +02:00
parent 9fe6c2b2c2
commit 3ad076b7e9
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ class EnableAutoCancelPendingPipelinesForAll < ActiveRecord::Migration
DOWNTIME = false
def up
disable_statement_timeout
update_column_in_batches(:projects, :auto_cancel_pending_pipelines, 1)
end