activity
This commit is contained in:
@@ -74,6 +74,7 @@ type Image struct {
|
||||
Text TextList `json:"text" db:"text" gorm:"type:json"`
|
||||
User User `json:"user" gorm:"foreignKey:UserID"`
|
||||
Article Article `json:"article" gorm:"foreignKey:ArticleID"`
|
||||
Activity bool `json:"activity"`
|
||||
}
|
||||
|
||||
func (Image) TableName() string {
|
||||
|
Reference in New Issue
Block a user