首页 > 解决方案 > 我遇到了一些问题。我的代码显示了一些错误

问题描述

SQLSTATE [23000]:完整性约束违规:1048 列 >'category_description' 不能为空(SQL:插入到 `tbl_category`(`category_id`,`category_name`,`category_description`,`publication_status`)>值(,sdfsf,, 1))

标签: phplaravel-5

解决方案


category_description不能为空,更新该列"Allow NULL"或为该列分配一个值。


推荐阅读