Unknown column 'created_at' in 'field list'


#1

Whenever I try to see a simple relational table for which the schema file did not declare the table.timestamps() columns, I get this error message:


 code: 'ER_BAD_FIELD_ERROR',                                                                                                                    
  errno: 1054,                                                                                                                                   
  sqlMessage: "Unknown column 'created_at' in 'field list'",                                                                                     
  sqlState: '42S22',                                                                                                                             
  index: 0,                                                                                                                                      
  sql:                                                                                                                                           
   "insert into `unclients` (`created_at`, `email`, `username`) values ('2019-03-04 22:34:54', 'sikew@zuatri.kw', 'kiciw')" }

It is the exact same problem I shared here (using a completely fresh new project and with a simple but different schema file )

Any reason why this happens? Is not this a bug? @virk @romain.lanz
Thank you


#2

Same solution as here: "Unknown column 'created_at' in 'field list'",