Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
c3ea71b3
Commit
c3ea71b3
authored
9 years ago
by
Jens Segers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust readme
parent
584d9501
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
README.md
README.md
+2
-8
TestCase.php
tests/TestCase.php
+2
-2
No files found.
README.md
View file @
c3ea71b3
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
tests/TestCase.php
View file @
c3ea71b3
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment