diff --git a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb index 82ad7fd1b35..edf9914308c 100644 --- a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb +++ b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb @@ -79,6 +79,8 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration Gitlab.config.repositories.storages[row['repository_storage']] end.compact + path = nil + # Move the namespace directory in all storages paths used by member projects repository_storage_paths.each do |repository_storage_path| # Ensure old directory exists before moving it