mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-10 11:52:49 +08:00
修改fields_cache设置;
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use think\facade\Env;
|
use think\facade\Env;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
@@ -53,9 +54,8 @@ return [
|
|||||||
// 监听SQL
|
// 监听SQL
|
||||||
'trigger_sql' => true,
|
'trigger_sql' => true,
|
||||||
// 开启字段缓存
|
// 开启字段缓存
|
||||||
'fields_cache' => false,
|
'fields_cache' => Env::get('database.fields_cache', false),
|
||||||
// 字段缓存路径
|
|
||||||
'schema_cache_path' => app()->getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR,
|
|
||||||
],
|
],
|
||||||
|
|
||||||
// 更多的数据库配置信息
|
// 更多的数据库配置信息
|
||||||
|
|||||||
Reference in New Issue
Block a user