Commit a286e20d authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'issue_50980' into 'master'

Disable statement timeout in RenameLoginRootNamespaces migration

Closes #50980

See merge request gitlab-org/gitlab-ce!21564
parents dd660402 409322eb
...@@ -7,10 +7,14 @@ class RenameLoginRootNamespaces < ActiveRecord::Migration ...@@ -7,10 +7,14 @@ class RenameLoginRootNamespaces < ActiveRecord::Migration
# We're taking over the /login namespace as part of a fix for the Jira integration # We're taking over the /login namespace as part of a fix for the Jira integration
def up def up
disable_statement_timeout do
rename_root_paths 'login' rename_root_paths 'login'
end end
end
def down def down
disable_statement_timeout do
revert_renames revert_renames
end end
end
end end
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