laravel seeder update code example
Example 1: laravel run seeder
php artisan migrate:fresh --seed
Example 2: db seed in controller
$fullClassName = "Nitseditor\\Plugins\\${pluginName}\\Databases\\seeds\\InstallSeeder";
Artisan::call("db:seed", ['--class' => $class]);
Example 3: laravel seeder update
DB::table('translations')->where('field', 'page_desc')->update(['field' => 'meta_desc']);