Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
37d5a604
Commit
37d5a604
authored
Oct 02, 2018
by
Mario de la Ossa
Committed by
Mario de la Ossa
Oct 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rename_login_root_namespaces post migration
parent
d5184e0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
changelogs/unreleased/51782-fix_rename_login_namespace_migration.yml
...unreleased/51782-fix_rename_login_namespace_migration.yml
+5
-0
db/post_migrate/20180816193530_rename_login_root_namespaces.rb
...st_migrate/20180816193530_rename_login_root_namespaces.rb
+2
-0
No files found.
changelogs/unreleased/51782-fix_rename_login_namespace_migration.yml
0 → 100644
View file @
37d5a604
---
title
:
Fix migration to avoid an exception during upgrade
merge_request
:
22055
author
:
type
:
fixed
db/post_migrate/20180816193530_rename_login_root_namespaces.rb
View file @
37d5a604
...
@@ -5,6 +5,8 @@ class RenameLoginRootNamespaces < ActiveRecord::Migration
...
@@ -5,6 +5,8 @@ class RenameLoginRootNamespaces < ActiveRecord::Migration
DOWNTIME
=
false
DOWNTIME
=
false
disable_ddl_transaction!
# 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
disable_statement_timeout
do
disable_statement_timeout
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment