summaryrefslogtreecommitdiff
path: root/internal/api/database
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-04-17 16:11:34 +0200
committerSanto Cariotti <santo@dcariotti.me>2025-04-17 16:11:34 +0200
commit95da822f025b544f700729afc676ba0f3c981154 (patch)
tree89b07c3a4e8797e67cb08e8f6603b7e7eae3b0e1 /internal/api/database
parent56c7e99b59a52f19598d33a46aea0516bd4d609f (diff)
Outcome for a game
Diffstat (limited to 'internal/api/database')
-rw-r--r--internal/api/database/models.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/database/models.go b/internal/api/database/models.go
index a6e76c5..cd0d12d 100644
--- a/internal/api/database/models.go
+++ b/internal/api/database/models.go
@@ -19,6 +19,7 @@ type Game struct {
Name string `json:"name"`
IP1 string `json:"ip1"`
IP2 string `json:"ip2"`
+ Outcome string `json:"outcome"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}