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

老版本升级新版时用人大金仓数据库时报错 #3748

Open
lmq219-123 opened this issue Mar 21, 2024 · 1 comment
Open

老版本升级新版时用人大金仓数据库时报错 #3748

lmq219-123 opened this issue Mar 21, 2024 · 1 comment

Comments

@lmq219-123
Copy link

错误环境:docker 的情况下,老版本升级最新版时,用国产化数据库,在执行sscms data restore -d update命令时,报“AUTO_INCREMENT”错误 ,分析原因是在Datory.Databaselmpl.KingbaseESlmpl.cs的139行,return "integer AUTO_INCREMENT" 创建主键格式错误,改成 return "SERIAL PRIMARY KEY";能成功导入数据。
建议:根据金仓的create table 主键自增长的语法要求,修复一下!

@starlying
Copy link
Contributor

收到,我们研究一下

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