Browse Source

Update database.php

Anyon 5 năm trước cách đây
mục cha
commit
64ef84fd29
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      config/database.php

+ 1 - 1
config/database.php

@@ -58,7 +58,7 @@ return [
             // 是否需要断线重连
             'break_reconnect'   => false,
             // 字段缓存路径
-            'schema_cache_path' => app()->getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR,
+            'schema_cache_path' => app()->getRootPath() . 'runtime' . DIRECTORY_SEPARATOR . 'schema' . DIRECTORY_SEPARATOR,
         ],
     ],
 ];