SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db_formsinar.model_has_roles' #2709
Unanswered
KodokMagang
asked this question in
Q&A
Replies: 1 comment
-
|
Try migrate the table again |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am experiencing a confusing error, because I did not delete the model_has_role table at all but there is an error log like this “SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db_formsinar.model_has_roles' doesn't exist (Connection: mysql, SQL: select
roles.*,model_has_roles.model_idaspivot_model_id,model_has_roles.role_idaspivot_role_id,model_has_roles.model_typeaspivot_model_typefromrolesinner joinmodel_has_rolesonroles.id=model_has_roles.role_idwheremodel_has_roles.model_idin (1) andmodel_has_roles.model_type= App\Models\User)” how to restore the table? Please help me.Beta Was this translation helpful? Give feedback.
All reactions