Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2018-09-06 17:17:10 +0300
committerFelipe Artur <felipefac@gmail.com>2018-09-06 17:17:10 +0300
commit409322eb0ed6eed033e3b8624331c8e368cd2368 (patch)
tree05cc0fb1eecdf05a5183c7c144c5a76b9dd3a497 /db
parent6967fd0aa5ba3ca51d48335e16703d12e6bd247c (diff)
Disable statement timeout in RenameLoginRootNamespaces migration
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20180816193530_rename_login_root_namespaces.rb8
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