mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-08 12:58:11 +08:00
fix: 更新默认数据库配置文件
This commit is contained in:
parent
8506e21529
commit
af7ef9b2cb
@ -20,7 +20,6 @@ class __CLASS__ extends Migrator
|
||||
/**
|
||||
* 数据库初始化
|
||||
* @return void
|
||||
* @throws \think\db\exception\DbException
|
||||
*/
|
||||
public function change()
|
||||
{
|
||||
@ -33,7 +32,6 @@ class __CLASS__ extends Migrator
|
||||
/**
|
||||
* 安装扩展数据
|
||||
* @return void
|
||||
* @throws \think\db\exception\DbException
|
||||
*/
|
||||
private function inserData()
|
||||
{
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
return [
|
||||
// 默认使用的数据库连接配置
|
||||
'default' => env('type.db_type', 'sqlite'),
|
||||
'default' => env('db.type', 'sqlite'),
|
||||
// 自定义时间查询规则
|
||||
'time_query_rule' => [],
|
||||
// 自动写入时间戳字段
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user