namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Codepluswander\LaravelDatabaseSeedVersion\DatabaseSeederVersion;
use Database\Seeders\TestSeeder;
class AppServiceProvider extends ServiceProvider
{
public function register()
{
$this->app->afterResolving(DatabaseSeederVersion::class, function ($service) {
$service->addSeeder([TestSeeder::class]);
});
}
}