laravel pivot timestamps code example
Example: laravel timestamps on pivot table
return $this->belongsToMany('TableModelClassName')->using('PivotTableModelClassName')->withTimestamps();
return $this->belongsToMany('TableModelClassName')->using('PivotTableModelClassName')->withTimestamps();