一、MySQL - 1681 Integer display width is deprecated and will be removed in a future release
https://blog.csdn.net/A_bad_horse/article/details/115239175
从MySQL 8.0.17开始,对于整数数据类型,不建议使用display width属性,即不用M显示宽度,并且在将来的MySQL版本中将删除对它的支持。
将INT(M)
改为INT。
2. 根据上述查询结果,修改sql语句
1 2 |
|
DEFAULT CHARSET utf8 COLLATE utf8_general_ci 是之前老版sql的写法。
参考:https://www.cnblogs.com/lilip/p/10109557.html
三、解决Incorrect integer value: '' for column 'id' at row 1的方法
参考这一篇 https://blog.csdn.net/j2eelamp/article/details/6866614
四、laravel insert 、save、update、create区别(总结二)
参考:https://blog.csdn.net/lxw1844912514/article/details/100029041
五、laravel中的日志