make player option for anonymous statistics collecting
This commit is contained in:
parent
1954109fc9
commit
dd69e43bcd
@ -10,7 +10,7 @@ import (
|
|||||||
type Game struct {
|
type Game struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
ID uint64 `json:"ID" gorm:"primaryKey"`
|
ID uint64 `json:"ID" gorm:"primaryKey"`
|
||||||
PlayerID uint64 `json:"player_id" gorm:"not null"`
|
PlayerID uint64 `json:"player_id"`
|
||||||
Player Player `json:"player"`
|
Player Player `json:"player"`
|
||||||
LevelID uint64 `json:"level_id" gorm:"not null"`
|
LevelID uint64 `json:"level_id" gorm:"not null"`
|
||||||
Level Level `json:"level" gorm:"not null"`
|
Level Level `json:"level" gorm:"not null"`
|
||||||
|
Loading…
Reference in New Issue
Block a user