mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-08 12:58:11 +08:00
fix: 优化数据库默认配置
This commit is contained in:
parent
550e44b878
commit
0cf4a12711
@ -1,3 +1,6 @@
|
||||
[db]
|
||||
type=sqlite
|
||||
|
||||
[mysql]
|
||||
hostname=127.0.0.1
|
||||
hostport=3306
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
return [
|
||||
// 默认使用的数据库连接配置
|
||||
'default' => 'sqlite',
|
||||
'default' => env('db.type', 'sqlite'),
|
||||
// 自定义时间查询规则
|
||||
'time_query_rule' => [],
|
||||
// 自动写入时间戳字段
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user