fixed match win/loss/ties
This commit is contained in:
@@ -14,7 +14,7 @@ type Match struct {
|
||||
// Fields of the Match.
|
||||
func (Match) Fields() []ent.Field {
|
||||
return []ent.Field{
|
||||
field.Uint64("match_id").Unique().Immutable().StructTag(`json:"match_id,string"`),
|
||||
field.Uint64("id").Unique().Immutable().StructTag(`json:"match_id,string"`),
|
||||
field.String("share_code"),
|
||||
field.String("map").Optional(),
|
||||
field.Time("date"),
|
||||
|
Reference in New Issue
Block a user