laravel timestamps on pivot table

210

laravel timestamps on pivot table -

return $this->belongsToMany('TableModelClassName')->using('PivotTableModelClassName')->withTimestamps();

Comments

Submit
0 Comments