Unknown column 'updated_at' in 'field list' laravel code example
Example 1: Column not found: 1054 Unknown column 'updated_at'
public $timestamps = false;
const UPDATED_AT = false;
Example 2: 1054 unknown column 'updated_at' in 'field list' laravel
public $timestamps = false;
Example 3: 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.