make player option for anonymous statistics collecting

This commit is contained in:
Chris Cromer 2022-09-22 15:48:10 -03:00
parent 1954109fc9
commit dd69e43bcd
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
type Game struct {
gorm.Model
ID uint64 `json:"ID" gorm:"primaryKey"`
PlayerID uint64 `json:"player_id" gorm:"not null"`
PlayerID uint64 `json:"player_id"`
Player Player `json:"player"`
LevelID uint64 `json:"level_id" gorm:"not null"`
Level Level `json:"level" gorm:"not null"`