I want to seed database when I use this
public function run()
{
$users = factory(appUser::class, 3)->create();
}
Add three user in database but when I use this
public function run()
{
$Comment= factory(appComment::class, 3)->create();
}
Show me error
See Question&Answers more detail:os[InvalidArgumentException]
Unable to locate factory with name [default] [appComment].