This commit is contained in:
杨志
2026-01-21 08:53:45 +08:00
parent f9c34127c7
commit a962e06a18
14 changed files with 574 additions and 222 deletions

View File

@@ -58,6 +58,24 @@ return [
'fields_cache' => false,
],
// SQLite配置
'sqlite' => [
// 数据库类型
'type' => 'sqlite',
// 数据库路径
'database' => '../runtime/database.db',
// 数据库编码
'charset' => 'utf8',
// 表前缀
'prefix' => '',
// 是否严格检查字段是否存在
'fields_strict' => true,
// 监听SQL
'trigger_sql' => env('APP_DEBUG', true),
// 开启字段缓存
'fields_cache' => false,
],
// 更多的数据库配置信息
],
];