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

更新查询information_schema columns 部分数据类型由int32变更为int64 #2

Merged
merged 1 commit into from Sep 6, 2021

Conversation

slowmoon
Copy link

@slowmoon slowmoon commented Sep 2, 2021

Description

原因: 当模型表中string 类型未定义长度时,information_schema 库中 COLUMNS表中CHARACTER_MAXIMUM_LENGTH 长度是一个很大的int64值,而在代码中schema 对应的定义成int32,会存在类型转换不通过的问题

Checklist_

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary
  • Added myself / the copyright holder to the AUTHORS file

@dk-lockdown dk-lockdown merged commit d3efe31 into opentrx:v2 Sep 6, 2021
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.

None yet

2 participants