Commit c7194352 authored by Lee Tickett's avatar Lee Tickett Committed by Nikola Milojevic

Fixed crm db seed trying to seed non-root groups

Changelog: fixed
parent 57f989e2
......@@ -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