Commit e4fc3ab1 authored by Nikola Milojevic's avatar Nikola Milojevic

Merge branch '2256-fix-crm-db-seed' into 'master'

Fixed crm db seed trying to seed non-root groups

See merge request gitlab-org/gitlab!83462
parents f5fe9c90 c7194352
......@@ -41,7 +41,7 @@ end
Gitlab::Seeder.quiet do
puts "\nGenerating group crm organizations and contacts"
Group.all.find_each do |group|
Group.where('parent_id IS NULL').first(10).each do |group|
Gitlab::Seeder::Crm.new(group).seed!
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment