mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
增加db_fields_strict配置参数,用于设置当字段不存在的数据写入的时候是否抛出异常 ,默认为true
This commit is contained in:
@@ -152,6 +152,7 @@ return [
|
||||
|
||||
// 是否启用多状态数据库配置 如果启用的话 需要跟随app_status配置不同的数据库信息
|
||||
'use_db_switch' => false,
|
||||
'db_fields_strict' => true,
|
||||
'database' => [
|
||||
// 数据库类型
|
||||
'type' => 'mysql',
|
||||
|
||||
Reference in New Issue
Block a user