I
I
igordata12020-07-01 13:42:44
Laravel
igordata1, 2020-07-01 13:42:44

How to fix this Illuminate\Database\QueryException (42S02) error?

Illuminate\Database\QueryException (42S02)
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel.categoryables' does not exist (SQL: insert into `categoryables` (`category_id`, `categoryable_id`, `categoryable_type `) values ​​(2, 1, App\Article))
Previous exceptions

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

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-07-01
@igordata1

Create a categoryables table

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question