Boa tarde
Ao executar o comando 'php artisan db:seed', aparece a seguinte mensagem no terminal:
In Container.php line 805:
Target class [UsuarioSeeder] does not exist.
In Container.php line 803:
Class UsuarioSeeder does not exist
UsuarioSeeder.php:
<?php
use App\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
class UsuarioSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::create([
'email' => 'teste@email',
'password' => Hash::make('teste')
]);
}
}