帮我看看是不是bug 生成数据表字段缓存

浏览:417 发布日期:2018/05/28 分类:ThinkPHP5专区
\thinkphp\library\think\console\command\optimize\Schema.php:109:            $dbName = Db::getConfig('database'). '.';报错
[think\exception\ErrorException]
Array to string conversion

我改成            $dbName = Db::getConfig('database')['database'] . '.';才不报错!
最佳答案
评论( 相关
后面还有条评论,点击查看>>