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
8e69e056
Commit
8e69e056
authored
Aug 29, 2016
by
Jens Segers
Committed by
GitHub
Aug 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #932 from diegofelix/patch-1
updated config file path
parents
cd75b176
62669d25
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
8e69e056
...
...
@@ -104,7 +104,7 @@ $books = $user->books()->sortBy('title');
Configuration
-------------
Change your default database connection name in
`
app/
config/database.php`
:
Change your default database connection name in
`config/database.php`
:
```
php
'default'
=>
env
(
'DB_CONNECTION'
,
'mongodb'
),
...
...
@@ -179,7 +179,7 @@ Everything else (should) work just like the original Eloquent model. Read more a
### Optional: Alias
You may also register an alias for the MongoDB model by adding the following to the alias array in
`
app/
config/app.php`
:
You may also register an alias for the MongoDB model by adding the following to the alias array in
`config/app.php`
:
```
php
'Moloquent'
=>
'Jenssegers\Mongodb\Eloquent\Model'
,
...
...
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