Compare commits
No commits in common. "bd24838ae6e3f171240316370d0122de190f38fb" and "8552cab0c2234fcb6cc995cef9ccc1541043db6e" have entirely different histories.
bd24838ae6
...
8552cab0c2
2 changed files with 3 additions and 7 deletions
|
@ -1,7 +1,3 @@
|
|||
# 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;size:128"`
|
||||
Value string `gorm:"size:128"`
|
||||
Name string `gorm:"primaryKey"`
|
||||
Value string
|
||||
}
|
||||
|
||||
StreakUser struct {
|
||||
TwitchID uint64 `gorm:"primaryKey"`
|
||||
Username string `gorm:"size:128"`
|
||||
Username string
|
||||
StreamsCount uint64
|
||||
CurrentStreak uint64
|
||||
MaxStreak uint64
|
||||
|
|
Loading…
Reference in a new issue