backend: Refactor playlits

This commit is contained in:
sentriz
2020-02-09 15:09:45 +00:00
parent 819af935cd
commit d9663e5b0a
8 changed files with 125 additions and 136 deletions

View File

@@ -45,7 +45,6 @@ func New(path string) (*DB, error) {
model.Play{},
model.Album{},
model.Playlist{},
model.PlaylistItem{},
)
// TODO: don't log if user already exists
db.FirstOrCreate(&model.User{}, model.User{