fix: validate explicit migrations and preserve large business ids

This commit is contained in:
Yvan
2026-11-06 07:00:05 +08:00
parent f6f2a4745e
commit 0f0ec2e6d7
53 changed files with 2653 additions and 1445 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ type AnalyticsMetrics struct {
type ChannelAnalyticsRow struct {
SourceDB string `json:"sourceDb"`
SourceDBLabel string `json:"sourceDbLabel"`
PromoteID *int64 `json:"promoteId"`
PromoteID *int64 `json:"promoteId,string"`
PromoteName string `json:"promoteName"`
PromoteType *int `json:"promoteType"`
BusierName string `json:"busierName"`
@@ -35,7 +35,7 @@ type ChannelAnalyticsRow struct {
type GameAnalyticsRow struct {
SourceDB string `json:"sourceDb"`
SourceDBLabel string `json:"sourceDbLabel"`
GameID *int64 `json:"gameId"`
GameID *int64 `json:"gameId,string"`
GameName string `json:"gameName"`
AnalyticsMetrics
ARPU string `json:"arpu"`