Disable statement timeout in RenameLoginRootNamespaces migration
This commit is contained in:
parent
6967fd0aa5
commit
409322eb0e
1 changed files with 6 additions and 2 deletions
|
@ -7,10 +7,14 @@ class RenameLoginRootNamespaces < ActiveRecord::Migration
|
|||
|
||||
# We're taking over the /login namespace as part of a fix for the Jira integration
|
||||
def up
|
||||
disable_statement_timeout do
|
||||
rename_root_paths 'login'
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
disable_statement_timeout do
|
||||
revert_renames
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue