Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column code example
Example: Unknown column '.updated_at'
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.