//ads:
?>
Laravel Unknown Column 'updated_at'
PHP Snippet 1:
public $timestamps = false;
PHP Snippet 2:
class ABC extends Model {
const UPDATED_AT = null;
PHP Snippet 3:
class ABC extends Model {
const CREATED_AT = 'name_of_created_at_column';
const UPDATED_AT = 'name_of_updated_at_column';
PHP Snippet 4:
class ABC extends Model {
public $timestamps = false;
}
PHP Snippet 5:
public $timestamps = false;
PHP Snippet 6:
Access level to App\yourModelName::$timestamps must be
public (as in class Illuminate\Database\Eloquent\Model)
public $timestamps = false;