What happen to my created_at
and updated_at
fields? Im using laravel5.1. I have this on my table:
=====================================
Name type default
created_at | timestamp | 0000-00-00 00:00:00
updated_at | timestamp | 0000-00-00 00:00:00
Migration is this:
$table->increments('id')->unsigned();
$table->timestamps();
Result
The red is my actual date, the first green is the created_at and the second green is the updated_at
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire