feat: 植物识别百科ai助手迁移
This commit is contained in:
@@ -40,7 +40,6 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
&plantModel.PostLike{},
|
||||
&plantModel.PostOss{},
|
||||
&plantModel.Topic{},
|
||||
&plantModel.OcrLog{},
|
||||
&plantModel.MediaCheckResult{},
|
||||
&plantModel.ExchangeItem{},
|
||||
&plantModel.ExchangeOrder{},
|
||||
@@ -50,6 +49,8 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
&plantModel.AiChatHistory{},
|
||||
&plantModel.GrowthRecordOss{},
|
||||
&plantModel.Banner{},
|
||||
&plantModel.SysAiConfig{},
|
||||
&plantModel.ClassifyRecord{},
|
||||
); err != nil {
|
||||
logx.Errorf("数据库迁移失败: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user