Answers for "Base table or view not found: 1146 Table 'waste_mgmt.oauth_personal_access_clients' doesn't exist"

PHP
0

SQLSTATE[42S02] lumen

You need to define the table name in model as shown below.
class User extends Model
{
    //
    public $table = "products";
}
Posted by: Guest on December-27-2020
0

SQLSTATE[42S02]: Base table or view not found: 1146 Tabl

It seems Laravel is trying to use category_posts table (because of many-to-many relationship). But you don't have this table, because you've created category_post table. Change name of the table to category_posts.
Posted by: Guest on December-07-2020

Code answers related to "Base table or view not found: 1146 Table 'waste_mgmt.oauth_personal_access_clients' doesn't exist"

Browse Popular Code Answers by Language