feat: add CreatedAt to albums (#159)
This change will make the GetAlbumList views with the "newest" type work as expected.
This commit is contained in:
@@ -179,6 +179,7 @@ type Play struct {
|
||||
|
||||
type Album struct {
|
||||
ID int `gorm:"primary_key"`
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
ModifiedAt time.Time
|
||||
LeftPath string `gorm:"unique_index:idx_left_path_right_path"`
|
||||
|
||||
Reference in New Issue
Block a user