fix: save URL to database

This commit is contained in:
JustSong
2022-12-23 20:48:59 +08:00
parent b43f3e077f
commit 6cf3ee9612
+1 -1
View File
@@ -13,7 +13,7 @@ type Message struct {
Description string `json:"description"`
Desp string `json:"desp" gorm:"-:all"` // alias for description
Content string `json:"content"`
URL string `json:"url" gorm:"-:all"`
URL string `json:"url" gorm:"column:url"`
Channel string `json:"channel"`
Token string `json:"token" gorm:"-:all"`
HTMLContent string `json:"html_content" gorm:"-:all"`