use database_path helper for sqlite database filename specified in .env
This commit is contained in:
parent
26a0e8d758
commit
982e95b5fb
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
'sqlite' => [
|
'sqlite' => [
|
||||||
'driver' => 'sqlite',
|
'driver' => 'sqlite',
|
||||||
'database' => env('DB_DATABASE', database_path('database.sqlite')),
|
'database' => database_path(env('DB_DATABASE', 'database.sqlite')),
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue