mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix seeds script for cases where default stock location already exists in the DB
This commit is contained in:
@@ -51,4 +51,4 @@ end
|
||||
spree_user = Spree::User.first
|
||||
spree_user && spree_user.confirm!
|
||||
|
||||
DefaultStockLocation.create!
|
||||
DefaultStockLocation.find_or_create
|
||||
|
||||
Reference in New Issue
Block a user