diff options
author | GrailFinder <wohilas@gmail.com> | 2024-04-07 09:53:04 +0300 |
---|---|---|
committer | GrailFinder <wohilas@gmail.com> | 2024-04-07 09:53:04 +0300 |
commit | 4a42a4465c8ff5496229f8883b9d1532bf7c9cab (patch) | |
tree | e0cbccdfe6a770cbbdecee2e2176ee697997229e /internal/models | |
parent | b662265234d70d648a7adce74f3d9cc245456d3a (diff) |
Feat: db connection and migrations
Diffstat (limited to 'internal/models')
-rw-r--r-- | internal/models/models.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 } ) |