📜  未知列 '.updated_at' - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:08.240000             🧑  作者: Mango

代码示例1
In the model, write the below code;
public $timestamps = false;

Explanation : By default laravel will expect created_at & updated_at column 
in your table. By making it to false it will override the default setting.