📌  相关文章
📜  SQLSTATE [42S02]:未找到基表或视图:1146 Laravel 中的多对多表 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:14.535000             🧑  作者: Mango

代码示例3
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.