aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/db/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/db/models.go')
-rw-r--r--backend/db/models.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/db/models.go b/backend/db/models.go
index e60cb8a..cc08817 100644
--- a/backend/db/models.go
+++ b/backend/db/models.go
@@ -18,6 +18,11 @@ type Game struct {
ProblemID pgtype.Int4
}
+type GamePlayer struct {
+ GameID int32
+ UserID int32
+}
+
type Problem struct {
ProblemID int32
Title string