Commit 7a2ad70f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Disable timeouts in foreign keys for stages migration

parent 3326291f
...@@ -6,6 +6,8 @@ class CreateForeignKeysForPipelineStages < ActiveRecord::Migration ...@@ -6,6 +6,8 @@ class CreateForeignKeysForPipelineStages < ActiveRecord::Migration
disable_ddl_transaction! disable_ddl_transaction!
def up def up
disable_statement_timeout
execute <<~SQL execute <<~SQL
DELETE FROM ci_stages DELETE FROM ci_stages
WHERE NOT EXISTS ( WHERE NOT EXISTS (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment