From 64ef84fd29d3d102a679669a1144871e2fe021d9 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 4 Jan 2020 15:14:42 +0800 Subject: [PATCH] Update database.php --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index e28638241..cb6f995a4 100644 --- a/config/database.php +++ b/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, ], ], ];