feat: add working watchdog cycle

This commit is contained in:
DaanSelen
2026-04-22 11:51:57 +02:00
parent bf04e97850
commit 0c287cc917
10 changed files with 166 additions and 82 deletions
+4 -3
View File
@@ -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
}