From 8a0422afa21d516ce202d515b13612f9d7dbf254 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 18 Dec 2020 16:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E6=AE=B5=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/database.php b/config/database.php index cfe1a21fa..b5fca1bf1 100644 --- a/config/database.php +++ b/config/database.php @@ -55,9 +55,9 @@ return [ 'fields_strict' => true, // 是否需要断线重连 'break_reconnect' => false, - // 监听SQL + // 监听SQL执行日志 'trigger_sql' => true, - // 开启字段缓存 + // 开启字段类型缓存 'fields_cache' => !app()->isDebug(), ], ],