summaryrefslogtreecommitdiff
path: root/api/database/models.go
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-04-08 12:13:50 +0200
committerSanto Cariotti <santo@dcariotti.me>2025-04-08 12:13:50 +0200
commitc5b10e28b358308d8349b940af09f64368172f2e (patch)
tree47a79c82c04ea7604c03ff128c3b096876f5c9eb /api/database/models.go
parentf75ec8f8f5b3d0d75f752b26df1088e9d42d2634 (diff)
Remove relay package
Diffstat (limited to 'api/database/models.go')
-rw-r--r--api/database/models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/database/models.go b/api/database/models.go
index 900c7b3..a6e76c5 100644
--- a/api/database/models.go
+++ b/api/database/models.go
@@ -10,7 +10,7 @@ type User struct {
UpdatedAt time.Time `json:"updated_at"`
}
-type Play struct {
+type Game struct {
ID int `json:"id"`
Player1ID int `json:"-"`
Player1 User `gorm:"foreignKey:Player1ID" json:"player1"`