feat: image variants cache panel

This commit is contained in:
fsylvain committed 2026-10-08 21:13:32 +02:00
1 parent 951fef18ba
commit d768668014
53 files changed
+5809 -46

No files matched your search

@@ -11,4 +11,12 @@ type ImageVariantFile struct {
Size int64 `gorm:"not null"`
Fingerprint string `gorm:"not null;size:64"`
CreatedAt time.Time
LastRequestedAt *time.Time
}
type ImageVariantRejectionDay struct {
ID uint32 `gorm:"primaryKey;autoIncrement"`
Day string `gorm:"not null;size:10;uniqueIndex:idx_image_variant_rejection_days_day"`
Count int `gorm:"not null"`
}