I am a beginner just using laravel for the first time. I adding authentication by
php artisan make:auth and adding database by php artisan migrate
But I already have an old database. I tried to change the database from table 'users' to table 'staff' according to the code below.
config/auth.php
'providers' => [
'staff' => [
'driver' => 'eloquent',
'model' => App\User::class,
],
Found an error in Figure 1
Note I make a database table 'staff' like database table 'users'
Is there any file that I need to fix?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire