Files
honoka-chan/internal/model/user/userliverandom.go
T
YumeMichi 0aacf8a4e9 Improve live and random live handling
- Add random live handlers, schemas and persistence for lot/play/continue/gameover/reward flow
- Update live status and schedule generation, including special rotation handling and CN timezone alignment
- Add config support for unlocking all daily special rotation songs and document the option
- Refresh live play, reward, precise score and session logic plus bundled main.db updates

Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-06 20:59:45 +08:00

16 lines
455 B
Go

package usermodel
type UserLiveRandom struct {
UserID int `xorm:"user_id pk"`
Attribute int `xorm:"attribute pk"`
Difficulty int `xorm:"difficulty pk"`
MemberCategory int `xorm:"member_category pk"`
Token string `xorm:"token"`
LiveDifficultyID int `xorm:"live_difficulty_id"`
InProgress bool `xorm:"in_progress"`
}
func (UserLiveRandom) TableName() string {
return "user_live_random"
}