package model // AllModels 返回所有需要迁移的模型 func AllModels() []interface{} { return []interface{}{ // 用户相关 &User{}, &HealthProfile{}, &LifestyleInfo{}, // 健康相关 &MedicalHistory{}, &FamilyHistory{}, &AllergyRecord{}, // 体质相关 &ConstitutionAssessment{}, &AssessmentAnswer{}, &QuestionBank{}, // 对话相关 &Conversation{}, &Message{}, // 产品相关 &Product{}, &ConstitutionProduct{}, &SymptomProduct{}, &PurchaseHistory{}, } }