mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
fix getting database prefix
This commit is contained in:
parent
fd7afd2ead
commit
486286245f
@ -49,7 +49,7 @@ return [
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => menv('DB_DATABASE', database_path('database.sqlite')),
|
||||
'prefix' => '',
|
||||
'prefix' => menv('DB_PREFIX', ''),
|
||||
],
|
||||
|
||||
'mysql' => [
|
||||
@ -61,7 +61,7 @@ return [
|
||||
'password' => menv('DB_PASSWORD', ''),
|
||||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
'prefix' => menv('DB_PREFIX', ''),
|
||||
'strict' => false,
|
||||
'engine' => null,
|
||||
],
|
||||
@ -74,7 +74,7 @@ return [
|
||||
'username' => menv('DB_USERNAME', 'forge'),
|
||||
'password' => menv('DB_PASSWORD', ''),
|
||||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'prefix' => menv('DB_PREFIX', ''),
|
||||
'schema' => 'public',
|
||||
],
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user