diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-09-06 11:17:10 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-09-06 11:17:10 -0300 |
commit | 409322eb0ed6eed033e3b8624331c8e368cd2368 (patch) | |
tree | 05cc0fb1eecdf05a5183c7c144c5a76b9dd3a497 /db | |
parent | 6967fd0aa5ba3ca51d48335e16703d12e6bd247c (diff) | |
download | gitlab-ce-409322eb0ed6eed033e3b8624331c8e368cd2368.tar.gz |
Disable statement timeout in RenameLoginRootNamespaces migration
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20180816193530_rename_login_root_namespaces.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/db/post_migrate/20180816193530_rename_login_root_namespaces.rb b/db/post_migrate/20180816193530_rename_login_root_namespaces.rb index 60cec24eed6..b0c1fb98fa8 100644 --- a/db/post_migrate/20180816193530_rename_login_root_namespaces.rb +++ b/db/post_migrate/20180816193530_rename_login_root_namespaces.rb @@ -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 - rename_root_paths 'login' + disable_statement_timeout do + rename_root_paths 'login' + end end def down - revert_renames + disable_statement_timeout do + revert_renames + end end end |