Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模板同步失败 #1923

Closed
wants to merge 7 commits into from
Closed

模板同步失败 #1923

wants to merge 7 commits into from

Conversation

tesun
Copy link
Contributor

@tesun tesun commented Oct 31, 2024

No description provided.

@pixelmaxQm
Copy link
Collaborator

什么报错内容,什么情况下触发。

@tesun
Copy link
Contributor Author

tesun commented Oct 31, 2024

if len(createEntity) > 0 {
err = global.GVA_DB.WithContext(ctx).Create(&createEntity).Error
if err != nil {
return nil, errors.Wrap(err, "同步失败!")
}
entities = append(entities, createEntity...)
}

sys_auto_code_packages 表里无 module 字段,也不需要,要忽略

@pixelmaxQm
Copy link
Collaborator

新版本是存在module属性的,旧版本升级上来的请自行补充字段
image

@pixelmaxQm pixelmaxQm closed this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants