Commit 5af73e22 authored by Youghourta Benali's avatar Youghourta Benali

use laravel 5 way of choosing the 'default database connection name'

parent cddcea80
......@@ -67,7 +67,7 @@ Configuration
Change your default database connection name in `app/config/database.php`:
```php
'default' => 'mongodb',
'default' => env('DB_CONNECTION', 'mongodb'),
```
And add a new mongodb connection:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment