laravel 数据库迁移中integer类型是无法指定长度.
laravel数据库迁移中integer类型是无法指定长度的,很多小伙伴对integer类型传递第二个参数后会发现迁移报以下错误 Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key
原创
2017-02-05 20:52:05 ·
5183 阅读 ·
0 评论