Compare commits
2 commits
8552cab0c2
...
bd24838ae6
Author | SHA1 | Date | |
---|---|---|---|
bd24838ae6 | |||
052c335cb2 |
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
# 0.3.0 / 2024-03-24
|
||||
|
||||
* Reduce field storage size by passing max length
|
||||
|
||||
# 0.2.0 / 2024-03-24
|
||||
|
||||
* Switch to properly tested database interface
|
||||
|
|
|
@ -2,13 +2,13 @@ package database
|
|||
|
||||
type (
|
||||
StreakMeta struct {
|
||||
Name string `gorm:"primaryKey"`
|
||||
Value string
|
||||
Name string `gorm:"primaryKey;size:128"`
|
||||
Value string `gorm:"size:128"`
|
||||
}
|
||||
|
||||
StreakUser struct {
|
||||
TwitchID uint64 `gorm:"primaryKey"`
|
||||
Username string
|
||||
Username string `gorm:"size:128"`
|
||||
StreamsCount uint64
|
||||
CurrentStreak uint64
|
||||
MaxStreak uint64
|
||||
|
|
Loading…
Reference in a new issue