title text not null default '',
content longtext not null default '',
这样设计代码不行吗 我在执行插入的时候报错
1364:Field 'content' doesn't have a default value [ SQL语句 ] : INSERT INTO set_posts (title,pid,description,url2,time,thumbnail) VALUES ('测试','1','','','1483174562','posts/20161231/1483174562_625.png')
而有个数据库就不报错 这是为什么 如何设计text 与 longtext的默认空值
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
光阴似箭催人老,日月如移越少年。