horodatage mysql dans la migration de Laravel
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
Clever Corncrake
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
$table->timestamp('created_at')->useCurrent();