fixed match win/loss/ties
This commit is contained in:
@@ -15,7 +15,7 @@ type Player struct {
|
||||
// Fields of the Player.
|
||||
func (Player) Fields() []ent.Field {
|
||||
return []ent.Field{
|
||||
field.Uint64("steamid").Unique().Immutable().StructTag(`json:",string"`),
|
||||
field.Uint64("id").Unique().Immutable().StructTag(`json:"steamid,string"`),
|
||||
field.String("name").Optional(),
|
||||
field.String("avatar_url").Optional(),
|
||||
field.String("vanity_url").Optional(),
|
||||
|
Reference in New Issue
Block a user