Add songCount column to Artist table

This commit is contained in:
Deluan
2020-05-08 09:50:33 -04:00
committed by Deluan Quintão
parent 1c41582d79
commit 70047fe20e
5 changed files with 34 additions and 4 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ import "time"
type Artist struct {
ID string `json:"id" orm:"column(id)"`
Name string `json:"name"`
AlbumCount int `json:"albumCount" orm:"column(album_count)"`
AlbumCount int `json:"albumCount"`
SongCount int `json:"songCount"`
FullText string `json:"fullText"`
SortArtistName string `json:"sortArtistName"`
OrderArtistName string `json:"orderArtistName"`