forgot to put new api docs and fixed a bug with duplicates

This commit is contained in:
2026-02-15 22:00:19 +03:00
parent c357e78003
commit e17569909f
3 changed files with 24 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ type Game struct {
Model
Name string `json:"name"`
SteamAppID int `json:"steamAppId"`
SteamAppID int `json:"steamAppId" gorm:"unique"`
Image string `json:"image"`
ReleaseDate string `json:"releaseDate"`
}