diff --git a/api/game.go b/api/game.go index c53393e..a374d02 100644 --- a/api/game.go +++ b/api/game.go @@ -24,6 +24,7 @@ type Game struct { Tags string `json:"tags"` UserId int `json:"user_id"` Content string `json:"content"` + CategoryID int `json:"category_id"` Image string `json:"image"` Images string `json:"images"` User User `json:"user" gorm:"foreignKey:UserId"`