From 4a42a4465c8ff5496229f8883b9d1532bf7c9cab Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sun, 7 Apr 2024 09:53:04 +0300 Subject: Feat: db connection and migrations --- internal/models/models.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/models') diff --git a/internal/models/models.go b/internal/models/models.go index 5d6dfa6..58191a2 100644 --- a/internal/models/models.go +++ b/internal/models/models.go @@ -11,16 +11,18 @@ const ( type ( UserScore struct { - ID string + Username string Actions []Action BurnTime time.Time Score int8 } Action struct { + ID uint32 Name string Magnitude uint8 Repeatable bool Type ActionType Done bool + Username string } ) -- cgit v1.2.3