Answers for ": Column not found: 1054 Unknown column '0' in 'field list' (SQL: update `carts` set `0` = 297, `carts`.`updated_at` = 2021-04-18 08:39:58 where `id` = 21"

PHP
3

Column not found: 1054 Unknown column 'updated_at'

// turn off both 
public $timestamps = false;

// turn off only updated_at
const UPDATED_AT = false;
Posted by: Guest on December-22-2020

Code answers related to ": Column not found: 1054 Unknown column '0' in 'field list' (SQL: update `carts` set `0` = 297, `carts`.`updated_at` = 2021-04-18 08:39:58 where `id` = 21"

Browse Popular Code Answers by Language