Explorar o código

修改配置增加字段缓存

Anyon %!s(int64=4) %!d(string=hai) anos
pai
achega
8a0422afa2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      config/database.php

+ 2 - 2
config/database.php

@@ -55,9 +55,9 @@ return [
             'fields_strict'   => true,
             // 是否需要断线重连
             'break_reconnect' => false,
-            // 监听SQL
+            // 监听SQL执行日志
             'trigger_sql'     => true,
-            // 开启字段缓存
+            // 开启字段类型缓存
             'fields_cache'    => !app()->isDebug(),
         ],
     ],