原文:解决,Incorrect table definition; there can be only one auto column and it must be defined as a key

今天在迁移项目时,操作数据库报错: Incorrect table definition there can be only one auto column and it must be defined as a key 我用的是Navicat Premium,而检测表中其他字段发现,并没有另一个设为自增的字段,很是费解,最后在stackoverflow找到这样的答案: 意思是:设为自增的字段必须 ...

2017-01-16 19:03 0 66021 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM