Commit c3ea71b3 authored by Jens Segers's avatar Jens Segers

Adjust readme

parent 584d9501
......@@ -249,17 +249,11 @@ This service provider will slightly modify the internal DatabaseReminderReposito
### Queues
If you want to use MongoDB as your database backend, change the default queue driver in `config/queue.php`:
```php
'default' => 'mongodb',
```
And add the following connection:
If you want to use MongoDB as your database backend, change the the driver in `config/queue.php`:
```php
'connections' => [
'mongodb' => [
'database' => [
'driver' => 'mongodb',
'table' => 'jobs',
'queue' => 'default',
......
......@@ -39,8 +39,8 @@ class TestCase extends Orchestra\Testbench\TestCase
$app['config']->set('auth.providers.users.model', 'User');
$app['config']->set('cache.driver', 'array');
$app['config']->set('queue.default', 'mongodb');
$app['config']->set('queue.connections.mongodb', [
$app['config']->set('queue.default', 'database');
$app['config']->set('queue.connections.database', [
'driver' => 'mongodb',
'table' => 'jobs',
'queue' => 'default',
......
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