Skip to content
Snippets Groups Projects
Commit 409573a2 authored by Bob Van Landuyt :neckbeard:'s avatar Bob Van Landuyt :neckbeard: :sunglasses:
Browse files

Make sure we do a case insensitive like

parent 8053d08f
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -41,7 +41,7 @@ module Gitlab
new_full_path)
 
update_column_in_batches(:routes, :path, replace_statement) do |table, query|
path_or_children = table[:path].eq(old_full_path)
path_or_children = table[:path].matches(old_full_path)
.or(table[:path].matches("#{old_full_path}/%"))
query.where(path_or_children)
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment