Why adding role in laravel-permission I got invalid table table name error? #2027
Answered
by
erikn69
sergeynilov
asked this question in
Q&A
-
In laravel 9 / spatie/laravel-permission 5.5 I add new role with :
and I got error : In config/permission.php I have option :
and I Models/Role.php I set :
Why error and how my config options must be applied ? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
erikn69
Feb 22, 2022
Replies: 1 comment 1 reply
-
You have to set the new model on config too |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sergeynilov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to set the new model on config too