implement get and set play queue

This commit is contained in:
sentriz
2020-02-09 16:50:02 +00:00
parent 04159e536e
commit c84420fa4f
4 changed files with 71 additions and 1 deletions

View File

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