Skip to content

Commit 5e81da7

Browse files
committed
tools: Create less seed products, so make seed only takes a minute.
1 parent 0966df5 commit 5e81da7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db/seeds.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
)
2626
end
2727

28-
puts "** Creating 500 products..."
28+
puts "** Creating 100 products..."
2929

3030
# Generate random products
31-
products = 500.times.with_progress.map do |i|
31+
products = 100.times.with_progress.map do |i|
3232
name = Faker::Commerce.unique.product_name
3333

3434
Product.create!(

0 commit comments

Comments
 (0)