diff options
author | James Lopez <james@jameslopez.es> | 2016-02-04 20:38:11 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-02-04 20:38:11 +0300 |
commit | c663ca434fb6c8a2251e4251c6f0f9d13660ccbe (patch) | |
tree | fe435f4df0df5b6c7f0590b71fb98ef113a7cf02 /db | |
parent | 5dc77d7577bf19586f6cd756678d0c2660e7f868 (diff) |
remove unnecessary lower function on SQL
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160129135155_remove_dot_atom_path_ending_of_projects.rb | 2 |
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 |