为什么要把key 改成PRIMARY key才不会报错?
`id` tinyint unsigned auto_increment key,
改成这样
`id` tinyint unsigned auto_increment PRIMARY key,
就不会报错了
`id` tinyint unsigned auto_increment key,
改成这样
`id` tinyint unsigned auto_increment PRIMARY key,
就不会报错了
2016-12-10
举报