fix: 更新默认数据库配置文件

This commit is contained in:
邹景立 2024-10-15 12:59:44 +08:00
parent 8506e21529
commit af7ef9b2cb
2 changed files with 1 additions and 3 deletions

View File

@ -20,7 +20,6 @@ class __CLASS__ extends Migrator
/** /**
* 数据库初始化 * 数据库初始化
* @return void * @return void
* @throws \think\db\exception\DbException
*/ */
public function change() public function change()
{ {
@ -33,7 +32,6 @@ class __CLASS__ extends Migrator
/** /**
* 安装扩展数据 * 安装扩展数据
* @return void * @return void
* @throws \think\db\exception\DbException
*/ */
private function inserData() private function inserData()
{ {

View File

@ -16,7 +16,7 @@
return [ return [
// 默认使用的数据库连接配置 // 默认使用的数据库连接配置
'default' => env('type.db_type', 'sqlite'), 'default' => env('db.type', 'sqlite'),
// 自定义时间查询规则 // 自定义时间查询规则
'time_query_rule' => [], 'time_query_rule' => [],
// 自动写入时间戳字段 // 自动写入时间戳字段