今天在使用php artisan db:seed进行填充1000条数据时,出现以下错误Failed to read auto-increment value from storage enginephp
缘由: 自增字段设置外tinyint 长度为3rem
解决方法:自增字段修改成int方法