Answers for "Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert into `roles` (`role`, `user_id`, `updated_at`, `created_at`) values (admin, 10, 2021-07-07 17:39:07, 2021-07-07 17:39:07))"

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 'updated_at' in 'field list' (SQL: insert into `roles` (`role`, `user_id`, `updated_at`, `created_at`) values (admin, 10, 2021-07-07 17:39:07, 2021-07-07 17:39:07))"

Browse Popular Code Answers by Language