Skip to content

Commit cd0a902

Browse files
committed
Merge pull request laravel#3698 from dakira/master
[5.2] Allow for setting sqlite database via env
2 parents 1c43882 + eb7743f commit cd0a902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
'sqlite' => [
5050
'driver' => 'sqlite',
51-
'database' => database_path('database.sqlite'),
51+
'database' => env('DB_DATABASE', database_path('database.sqlite')),
5252
'prefix' => '',
5353
],
5454

0 commit comments

Comments
 (0)