Latest

Thursday, July 13, 2017

Laravel 5.4 - how to store playlists in the database?

Asked by: fiter


I just can't find the right way to store playlists in the database.

  1. There is a model Player that hasMany Playlist
  2. Playlist hasMany Track
  3. It should be possible to change the order of tracks in the playlist
  4. The tracks should be displayed using the paginate() method

What will be the best practice?



Source

No comments:

Post a Comment

Adbox