更新数据库

This commit is contained in:
mkm 2023-12-01 17:13:26 +08:00
parent 7e183179cd
commit 7eef968cd3
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ return [
'username' => env('DB_USERNAME'),
'password' => env('DB_PASSWORD'),
'unix_socket' => '',
'prefix' => 'la_',
'prefix' => env('DB_PREFIX'),
'strict' => true,
'engine' => null,
],

View File

@ -19,11 +19,11 @@ return [
// 数据库编码默认采用utf8
'charset' => 'utf8',
// 数据库表前缀
'prefix' => 'la_',
'prefix' => env('DB_PREFIX'),
// 断线重连
'break_reconnect' => true,
// 关闭SQL监听日志
'trigger_sql' => true,
'trigger_sql' => false,
// 自定义分页类
'bootstrap' => ''
],