Hallucinate a whole lot of shit...

Too much shit...
This commit is contained in:
2025-10-10 22:28:05 +02:00
parent d7d3a6e888
commit da5133eef8
9 changed files with 233 additions and 42 deletions

View File

@@ -12,3 +12,11 @@ type Character struct {
UpdatedAt time.Time
CreatedAt time.Time
}
// CacheEntry represents a cached API response
type CacheEntry struct {
ID uint `gorm:"primaryKey"`
URLHash string `gorm:"uniqueIndex"`
Response string `gorm:"type:text"`
CachedAt time.Time `gorm:"index"`
}