summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-02-09 10:39:20 +0000
committerDouwe Maan <douwe@gitlab.com>2016-02-09 10:39:20 +0000
commita5c2e7a486d313b2a3d2f617fcc3c561976aa510 (patch)
tree6de84f8ea5204e210e9893b7aee6e7f9030b1d3a /db
parent16ff8858c466179858a627304c8ed3237713f61d (diff)
parentc663ca434fb6c8a2251e4251c6f0f9d13660ccbe (diff)
downloadgitlab-ce-a5c2e7a486d313b2a3d2f617fcc3c561976aa510.tar.gz
Merge branch 'fix/atom-url-issue' into 'master'
do not rename .aToM but only .atom projects in migration Sorry @DouweM forgot to add this. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2651/diffs#bc35672f73f4ee025132aee428f383acdf0f755e_0_51 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699 See merge request !2712
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160129135155_remove_dot_atom_path_ending_of_projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160129135155_remove_dot_atom_path_ending_of_projects.rb b/db/migrate/20160129135155_remove_dot_atom_path_ending_of_projects.rb
index 091de54978b..d3ea956952e 100644
--- a/db/migrate/20160129135155_remove_dot_atom_path_ending_of_projects.rb
+++ b/db/migrate/20160129135155_remove_dot_atom_path_ending_of_projects.rb
@@ -48,7 +48,7 @@ class RemoveDotAtomPathEndingOfProjects < ActiveRecord::Migration
end
def projects_with_dot_atom
- select_all("SELECT p.id, p.path, n.path as namespace_path, n.id as namespace_id FROM projects p inner join namespaces n on n.id = p.namespace_id WHERE lower(p.path) LIKE '%.atom'")
+ select_all("SELECT p.id, p.path, n.path as namespace_path, n.id as namespace_id FROM projects p inner join namespaces n on n.id = p.namespace_id WHERE p.path LIKE '%.atom'")
end
def up