Cache link meta with database

This commit is contained in:
2024-08-19 14:52:33 +08:00
parent 039e174595
commit a590bca9a4
11 changed files with 107 additions and 3 deletions

View File

@ -3,6 +3,7 @@ package models
type LinkMeta struct {
BaseModel
Entry string `json:"entry_id" gorm:"uniqueIndex"`
Icon string `json:"icon"`
URL string `json:"url"`
Image *string `json:"image"`