Replies: 1 comment
-
It is your implementation, this package does not has role_user table |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Error I have is when I want to assign the role to a user.
assignRole()
• A table was not found: You might have forgotten to run your migrations. You can run your migrations using php artisan migrate.
https://laravel.com/docs/master/migrations#running-migrations
1 ......................\vendor\laravel\framework\src\Illuminate\Database\Connection.php:368
PDOException::("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'role_user' doesn't exist")
2 ......................\vendor\laravel\framework\src\Illuminate\Database\Connection.php:368
PDO::prepare("select * from role_user where role_user.user_id = ?")
Beta Was this translation helpful? Give feedback.
All reactions