type SotBalance struct {
General UserID uint `gorm:"unique"`
User RegisteredUser `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE"`
Gold int Doubloons int AncientCoins int LastUpdated int64}
type SotBalanceHistory struct {
General UserID uint User RegisteredUser `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE"`
Gold int Doubloons int AncientCoins int LastUpdated int64}
type UserPref struct {
General UserID uint `gorm:"index:idx_user_key"`
User RegisteredUser `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE"`
Key string `gorm:"index:idx_user_key"`
Value string `gorm:"size:1024"`
}