mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
17 lines
358 B
PHP
17 lines
358 B
PHP
<?php
|
|
|
|
// This is executed inside DatabaseMigrationService class/context
|
|
|
|
use Grocy\Services\RecipesService;
|
|
|
|
$recipesService = RecipesService::getInstance();
|
|
|
|
for ($i = 1; $i <= 87; $i++)
|
|
{
|
|
$recipesService->CopyRecipe(1);
|
|
$recipesService->CopyRecipe(2);
|
|
$recipesService->CopyRecipe(3);
|
|
$recipesService->CopyRecipe(4);
|
|
$recipesService->CopyRecipe(5);
|
|
}
|