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

[Question] CoreSqlOrder写入报错 #1114

Open
1 of 2 tasks
showsmall opened this issue Oct 10, 2024 · 1 comment
Open
1 of 2 tasks

[Question] CoreSqlOrder写入报错 #1114

showsmall opened this issue Oct 10, 2024 · 1 comment

Comments

@showsmall
Copy link

showsmall commented Oct 10, 2024

描述问题
审批工单写入报错,提示:
image

复现
重现该行为的步骤:
通过排查代码:
发现是启动的时候把字段删除了,代码如下:
if model.DB().Migrator().HasColumn(&model.CoreSqlOrder{}, "time") {
_ = model.DB().Migrator().DropColumn(&model.CoreSqlOrder{}, "time")
}
不知道为何这样做

期望的结果
清晰而简洁地描述你希望得到的结果

截图

部署方式

  • Docker
  • Manual

环境 (请填写环境信息):

  • 操作系统: [e.g. iOS]
  • 浏览器 [e.g. chrome, safari]
  • 版本号 [e.g. 22]

额外的日志信息
在这里添加有关该问题的所有日志。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] CoreSqlOrder writing error

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

No branches or pull requests

2 participants