原文:解決,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