diff --git a/models/user_business_analysis.go b/models/user_business_analysis.go index 7e667d675..18f7fa6b2 100644 --- a/models/user_business_analysis.go +++ b/models/user_business_analysis.go @@ -106,7 +106,7 @@ type UserBusinessAnalysisAll struct { CollectedImage int `xorm:"NOT NULL DEFAULT 0"` RecommendImage int `xorm:"NOT NULL DEFAULT 0"` - Phone string `xorm:"NOT NULL"` + Phone string `xorm:"NULL"` } type UserBusinessAnalysis struct { @@ -195,7 +195,7 @@ type UserBusinessAnalysis struct { CollectedImage int `xorm:"NOT NULL DEFAULT 0"` RecommendImage int `xorm:"NOT NULL DEFAULT 0"` - Phone string `xorm:"NOT NULL"` + Phone string `xorm:"NULL"` } type UserBusinessAnalysisQueryOptions struct {