Answers for "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert into `subscriptions` (`reference`, `updated_at`, `created_at`) values (1811018, 2021-01-03 16:21:07, 2021-01-03 16:21: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
0

bolt change column updated_at

const UPDATED_AT = 'datechanged';
Posted by: Guest on September-22-2020

Code answers related to "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert into `subscriptions` (`reference`, `updated_at`, `created_at`) values (1811018, 2021-01-03 16:21:07, 2021-01-03 16:21:07))"

Browse Popular Code Answers by Language