且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到基本表或视图:1146表Laravel 5

更新时间:2022-01-05 06:19:35

我猜想Laravel无法确定用于表名的单词的复数形式.

I'm guessing Laravel can't determine the plural form of the word you used for your table name.

只需在模型中指定表格,如下所示:

Just specify your table in the model as such:

class Cotizacion extends Model{
    public $table = "cotizacion";