Manage display of book covers

This commit is contained in:
2025-10-28 18:35:36 +01:00
parent 8b8eee8210
commit b4df375e4c
20 changed files with 257 additions and 353 deletions

9
internal/model/file.go Normal file
View File

@@ -0,0 +1,9 @@
package model
import "gorm.io/gorm"
type StaticFile struct {
gorm.Model
Name string `gorm:"not null"`
Path string `gorm:"not null;index;uniqueIndex"`
}