Column not found: 1054 Unknown column 'updated_at' 1

Column not found: 1054 Unknown column ‘updated_at’

// turn off both 
public $timestamps = false;

// turn off only updated_at
const UPDATED_AT = false;

Here is what the above code is Doing:
1. The $timestamps property is set to false. This will turn off both the created_at and updated_at columns.
2. The UPDATED_AT constant is set to false. This will turn off only the updated_at column.

Similar Posts