mercredi 22 juillet 2020

Tried to run php artisan migrate:fresh after install voyager it's give me this error

**Migrating: 2016_01_01_000000_add_voyager_user_fields

Illuminate\Database\QueryException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jaleed.users' doesn't exist (SQL: alter table users add avatar varchar(255) null default 'users/default.png' after email, add role_id bigint null after id)

at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671 667| // If an exception occurs when attempting to run a query, we'll format the error 668| // message to include the bindings with SQL, which will make this exception a 669| // lot more helpful to the developer instead of just the database's errors. 670| catch (Exception $e)

enter image description here

enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire