mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Remove unused user role from seeding
We only ever check for the admin role.
This commit is contained in:
@@ -7,7 +7,6 @@ MailConfiguration.apply!
|
||||
|
||||
puts "[db:seed] Seeding Roles"
|
||||
Spree::Role.where(:name => "admin").first_or_create
|
||||
Spree::Role.where(:name => "user").first_or_create
|
||||
|
||||
puts "[db:seed] Seeding Countries"
|
||||
unless Spree::Country.find_by(iso: ENV['DEFAULT_COUNTRY_CODE'])
|
||||
|
||||
Reference in New Issue
Block a user