[已解决]dcat编辑的时候删除图片显示不能为空是什么原因
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'image' cannot be null (SQL: update carousels
set image
= ?, carousels
.updated_at
= 2022-10-17 16:34:34 where id
= 1)
删除图片就直接触发了,有什么解决方法吗
数据库需要不为null的情况下
removable(false)