Merge branch 'issue_50980' into 'master'
Disable statement timeout in RenameLoginRootNamespaces migration Closes #50980 See merge request gitlab-org/gitlab-ce!21564
This commit is contained in:
commit
a286e20d01
|
@ -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
|
||||||
rename_root_paths 'login'
|
disable_statement_timeout do
|
||||||
|
rename_root_paths 'login'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
revert_renames
|
disable_statement_timeout do
|
||||||
|
revert_renames
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue