add basic playlist

This commit is contained in:
sentriz
2019-11-24 15:21:58 +00:00
parent 3b240fccb0
commit 6193f1b37d
6 changed files with 146 additions and 0 deletions

View File

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