Skip to content

Commit 5af73e2

Browse files
committed
use laravel 5 way of choosing the 'default database connection name'
1 parent cddcea8 commit 5af73e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Configuration
6767
Change your default database connection name in `app/config/database.php`:
6868

6969
```php
70-
'default' => 'mongodb',
70+
'default' => env('DB_CONNECTION', 'mongodb'),
7171
```
7272

7373
And add a new mongodb connection:

0 commit comments

Comments
 (0)