增加db_attr_case配置参数 用于配置 数据表字段大小写规则

This commit is contained in:
thinkphp
2016-03-07 21:29:55 +08:00
parent e6bf88ce50
commit eb37deedd0
3 changed files with 21 additions and 20 deletions

View File

@@ -155,6 +155,7 @@ return [
// +----------------------------------------------------------------------
'db_fields_strict' => true,
'db_attr_case' => \PDO::CASE_LOWER,
'database' => [
// 数据库类型
'type' => 'mysql',