fix: validate explicit migrations and preserve large business ids
This commit is contained in:
@@ -6,7 +6,7 @@ type ChannelPortraitQuery struct {
|
||||
Period string `form:"period"`
|
||||
}
|
||||
type ChannelPortraitBasic struct {
|
||||
PromoteID uint64 `json:"promoteId"`
|
||||
PromoteID uint64 `json:"promoteId,string"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
SourceDBLabel string `json:"sourceDbLabel"`
|
||||
Account string `json:"account"`
|
||||
@@ -26,7 +26,7 @@ type ChannelPortraitBasic struct {
|
||||
LastLoginTime *string `json:"lastLoginTime"`
|
||||
BusierUserID *uint `json:"busierUserId"`
|
||||
BusierDisplayName string `json:"busierDisplayName"`
|
||||
ParentPromoteID *uint64 `json:"parentPromoteId"`
|
||||
ParentPromoteID *uint64 `json:"parentPromoteId,string"`
|
||||
ParentPromoteName *string `json:"parentPromoteName"`
|
||||
ParentPromoteAccount *string `json:"parentPromoteAccount"`
|
||||
GameCount *int64 `json:"gameCount"`
|
||||
|
||||
Reference in New Issue
Block a user