Skip to content

Commit 6b0556b

Browse files
committed
Merge pull request #668 from djug/master
use laravel 5 way of choosing the 'default database connection name'
2 parents cddcea8 + 5af73e2 commit 6b0556b

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)