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
disable_ddl_transaction!
def up
disable_statement_timeout
execute <<~SQL
DELETE FROM ci_stages
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