Hallucinate a whole lot of shit...
Too much shit...
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user