refactor scanner

This commit is contained in:
sentriz
2019-05-23 13:48:16 +01:00
parent ca37f5c27e
commit f8c5c41509
3 changed files with 114 additions and 131 deletions

View File

@@ -58,9 +58,8 @@ type Track struct {
type Cover struct {
IDBase
CrudBase
Image []byte
Path string `gorm:"not null;unique_index"`
NewlyInserted bool `gorm:"-"`
Image []byte
Path string `gorm:"not null;unique_index"`
}
// User represents the users table