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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
81a62d48
Commit
81a62d48
authored
Jun 01, 2020
by
Yannis Roussos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ambiguous string concat on CleanupProjectsWithMissingNamespace
parent
461d574c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/219582-fix-ambiguous_string_concat_on_cleanup_projects_with_missing_names.yml
..._string_concat_on_cleanup_projects_with_missing_names.yml
+5
-0
db/post_migrate/20200511083541_cleanup_projects_with_missing_namespace.rb
...20200511083541_cleanup_projects_with_missing_namespace.rb
+2
-2
No files found.
changelogs/unreleased/219582-fix-ambiguous_string_concat_on_cleanup_projects_with_missing_names.yml
0 → 100644
View file @
81a62d48
---
title
:
Fix ambiguous string concatenation on CleanupProjectsWithMissingNamespace
merge_request
:
33497
author
:
type
:
fixed
db/post_migrate/20200511083541_cleanup_projects_with_missing_namespace.rb
View file @
81a62d48
...
...
@@ -249,8 +249,8 @@ class CleanupProjectsWithMissingNamespace < ActiveRecord::Migration[6.0]
-- Names are expected to be unique inside their namespace
-- (uniqueness validation on namespace_id, name)
-- Attach the id to the name and path to make sure that they are unique
name = name || '_' || id,
path = path || '_' || id
name = name || '_' || id
::text
,
path = path || '_' || id
::text
SQL
end
end
...
...
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