Update database.php

This commit is contained in:
Anyon 2020-11-13 16:07:29 +08:00
parent d5642815b9
commit 213bcb5ec1

View File

@ -56,9 +56,9 @@ return [
// 是否需要断线重连
'break_reconnect' => false,
// 监听SQL
'trigger_sql' => app()->isDebug(),
'trigger_sql' => true,
// 开启字段缓存
'fields_cache' => false,
'fields_cache' => app()->debug(),
],
],
];