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
e6e95f3b
Commit
e6e95f3b
authored
Jan 31, 2016
by
Jens Segers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new readme section for upgrading
parent
e34be787
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
README.md
README.md
+20
-0
No files found.
README.md
View file @
e6e95f3b
...
@@ -8,6 +8,7 @@ An Eloquent model and Query builder with support for MongoDB, using the original
...
@@ -8,6 +8,7 @@ An Eloquent model and Query builder with support for MongoDB, using the original
Table of contents
Table of contents
-----------------
-----------------
*
[
Installation
](
#installation
)
*
[
Installation
](
#installation
)
*
[
Upgrading
](
#upgrading
)
*
[
Configuration
](
#configuration
)
*
[
Configuration
](
#configuration
)
*
[
Eloquent
](
#eloquent
)
*
[
Eloquent
](
#eloquent
)
*
[
Optional: Alias
](
#optional-alias
)
*
[
Optional: Alias
](
#optional-alias
)
...
@@ -64,6 +65,25 @@ $capsule->getDatabaseManager()->extend('mongodb', function($config)
...
@@ -64,6 +65,25 @@ $capsule->getDatabaseManager()->extend('mongodb', function($config)
});
});
```
```
Upgrading
---------
### Upgrading 2.2.x to 3.0.x
In this new major release which supports the new mongodb PHP extension, we also moved the location of the Model class from:
```
Jenssegers\Mongodb\Model
```
To:
```
Jenssegers\Mongodb\Eloquent\Model
```
So please use the new namespace at the top of your model files, or in your alias.
Configuration
Configuration
-------------
-------------
...
...
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