clean scan
This commit is contained in:
11
db/model.go
11
db/model.go
@@ -47,11 +47,14 @@ type Track struct {
|
||||
|
||||
// Cover represents the covers table
|
||||
type Cover struct {
|
||||
IDBase
|
||||
CrudBase
|
||||
AlbumID int `gorm:"primary_key;auto_increment:false"`
|
||||
Album Album
|
||||
Image []byte
|
||||
Path string `gorm:"not null;unique_index"`
|
||||
AlbumID int `gorm:"index"`
|
||||
Album Album
|
||||
FolderID int `gorm:"index"`
|
||||
Folder Folder
|
||||
Image []byte
|
||||
Path string `gorm:"not null;unique_index"`
|
||||
}
|
||||
|
||||
// User represents the users table
|
||||
|
||||
Reference in New Issue
Block a user