Tag Archives: `updated_at` = in laravel

Getting the error in laravel SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘updated_at’ in ‘field list’

Getting the error in laravel SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘updated_at’ in ‘field list’ (SQL: update emp_details set testID = 999, updated_at = 2018-09-03 14:50:09 where (testID = 1)) This error usually comes when the updated_at field missing in the laravel table.if the fields are not in the table in the database we… Read More »

Error:Laravel 5.2-Column not found: 1054 Unknown column ‘remember_token’ in ‘field list

In the logout section of the code in laravel shows the below error QueryException in Connection.php line 673: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘remember_token’ in ‘field list’ (SQL: update tbl_super_admin set remember_token = nBK3H2JLcwS8lkcUudaGXIVWseSyqhZ0dsTJdl5TkXL3y8gNgqv2dkaZPd0c, updated_at = 2017-03-29 13:39:45 where id = 1) Solution: add remember_token,updated_at fields in the user table.its mandatory field in… Read More »