feat: add working watchdog cycle
This commit is contained in:
@@ -41,9 +41,10 @@ type Device struct {
|
||||
type File struct {
|
||||
ID int `gorm:"primaryKey"`
|
||||
MediaType MediaType `gorm:"type:varchar(20);not null;"`
|
||||
GivenName string
|
||||
Filepath string
|
||||
Checksum string // base64 encoded sha512 checksum
|
||||
MetaName string
|
||||
FileName string
|
||||
FilePath string
|
||||
Checksum string `gorm:"uniqueIndex"` // hex encoded sha512 checksum
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user