Remove old tags from models
This commit is contained in:
+3
-3
@@ -5,12 +5,12 @@ import "time"
|
||||
type Album struct {
|
||||
ID string
|
||||
Name string
|
||||
ArtistID string `parent:"artist"`
|
||||
ArtistID string
|
||||
CoverArtPath string
|
||||
CoverArtId string
|
||||
Artist string
|
||||
AlbumArtist string
|
||||
Year int `idx:"Year"`
|
||||
Year int
|
||||
Compilation bool
|
||||
Starred bool
|
||||
PlayCount int
|
||||
@@ -19,7 +19,7 @@ type Album struct {
|
||||
Duration int
|
||||
Rating int
|
||||
Genre string
|
||||
StarredAt time.Time `idx:"Starred"`
|
||||
StarredAt time.Time
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ type MediaFile struct {
|
||||
Artist string
|
||||
ArtistID string
|
||||
AlbumArtist string
|
||||
AlbumID string `parent:"album"`
|
||||
AlbumID string
|
||||
HasCoverArt bool
|
||||
TrackNumber int
|
||||
DiscNumber int
|
||||
@@ -28,7 +28,7 @@ type MediaFile struct {
|
||||
PlayDate time.Time
|
||||
Rating int
|
||||
Starred bool
|
||||
StarredAt time.Time `idx:"Starred"`
|
||||
StarredAt time.Time
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user