Propagate the current query param to the new route (necessary when the route change comes from outside the app)
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run()
{
Model::unguard();
// $this->call('UserTableSeeder');
}
}