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:
authorMario de la Ossa <mdelaossa@gitlab.com>2018-10-02 18:22:46 +0300
committerMario de la Ossa <mariodelaossa@gmail.com>2018-10-02 18:46:23 +0300
commit37d5a604381cc0df3b4aa830eb66a1ec67474fc1 (patch)
tree54c8c5b8c002fbfe6201868e1903f55883ce1927 /db
parentd5184e0d8b48bc221e1ea401b9171db07959b50c (diff)
Fix rename_login_root_namespaces post migration
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20180816193530_rename_login_root_namespaces.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/post_migrate/20180816193530_rename_login_root_namespaces.rb b/db/post_migrate/20180816193530_rename_login_root_namespaces.rb
index b0c1fb98fa8..4ab1250473f 100644
--- a/db/post_migrate/20180816193530_rename_login_root_namespaces.rb
+++ b/db/post_migrate/20180816193530_rename_login_root_namespaces.rb
@@ -5,6 +5,8 @@ class RenameLoginRootNamespaces < ActiveRecord::Migration
DOWNTIME = false
+ disable_ddl_transaction!
+
# We're taking over the /login namespace as part of a fix for the Jira integration
def up
disable_statement_timeout do