Answers for "laravel 7 seed factory"

PHP
1

laravel run seeder

php artisan migrate:fresh --seed
Posted by: Guest on August-30-2020
0

db seed in controller

$fullClassName = "Nitseditor\\Plugins\\${pluginName}\\Databases\\seeds\\InstallSeeder";

Artisan::call("db:seed", ['--class' => $class]);
Posted by: Guest on September-04-2020

Browse Popular Code Answers by Language