Sqlstate [42S02] lumen
You need to define the table name in model as shown below.
class User extends Model
{
//
public $table = "products";
}
Ankur
You need to define the table name in model as shown below.
class User extends Model
{
//
public $table = "products";
}
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.
class Cotizacion extends Model{
public $table = "cotizacion";