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