add example seeder

This commit is contained in:
Dennis 2022-01-19 21:06:46 +01:00 committed by GitHub
parent 4a51c20fcc
commit d59a99d002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,6 +295,7 @@ echo $cardheader;
$cmd = "cd '$path' && bash -c 'exec -a ServerCPP php artisan migrate --seed --force' 2>&1";
$resp = shell_exec($cmd);
shell_exec('php artisan migrate --seed --force');
shell_exec('php artisan db:seed --class=ExampleItemsSeeder --force');
}
echo $cardheader;
?>