fix: save URL to database
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ type Message struct {
|
|||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
Desp string `json:"desp" gorm:"-:all"` // alias for description
|
Desp string `json:"desp" gorm:"-:all"` // alias for description
|
||||||
Content string `json:"content"`
|
Content string `json:"content"`
|
||||||
URL string `json:"url" gorm:"-:all"`
|
URL string `json:"url" gorm:"column:url"`
|
||||||
Channel string `json:"channel"`
|
Channel string `json:"channel"`
|
||||||
Token string `json:"token" gorm:"-:all"`
|
Token string `json:"token" gorm:"-:all"`
|
||||||
HTMLContent string `json:"html_content" gorm:"-:all"`
|
HTMLContent string `json:"html_content" gorm:"-:all"`
|
||||||
|
|||||||
Reference in New Issue
Block a user