Skip to content
Snippets Groups Projects
Commit 205eb3af authored by SaddamAnnais's avatar SaddamAnnais
Browse files

fix: seed 10.000 from 1.000

parent f07f258f
Branches
Tags
No related merge requests found
......@@ -178,7 +178,7 @@ foreach ($all_recipe as $recipe) {
// 10K RECIPES
$tags = ['appetizer', 'main course', 'dessert', 'full course'];
$diffs = ['easy', 'medium', 'hard'];
for ($i = 1; $i <= 1000; $i++) {
for ($i = 1; $i <= 10000; $i++) {
$random_idx = rand(0,2);
$random_recipe = [
'title' => 'random recipe ' . $i,
......
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