From e0fdaa9bdff680cd913ca548ea88be1f27f06ef9 Mon Sep 17 00:00:00 2001 From: Kichiyaki Date: Sun, 21 Jun 2020 10:36:28 +0200 Subject: [PATCH] add dominance field to TribeHistory model --- models/tribe_history.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/tribe_history.go b/models/tribe_history.go index 318f3f4..b81c940 100644 --- a/models/tribe_history.go +++ b/models/tribe_history.go @@ -14,6 +14,7 @@ type TribeHistory struct { Points int `json:"points" gqlgen:"points" pg:",use_zero"` AllPoints int `json:"allPoints" gqlgen:"allPoints" pg:",use_zero"` Rank int `json:"rank" gqlgen:"rank" pg:",use_zero"` + Dominance float64 `json:"dominance" gqlgen:"dominance" pg:",use_zero"` CreatedAt time.Time `pg:"default:now(),use_zero" json:"createdAt" gqlgen:"createdAt" xml:"createdAt"` }