up
This commit is contained in:
@@ -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,
|
||||
],
|
||||
|
||||
// 更多的数据库配置信息
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user