File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ An Eloquent model and Query builder with support for MongoDB, using the original
88Table of contents
99-----------------
1010* [ Installation] ( #installation )
11+ * [ Upgrading] ( #upgrading )
1112* [ Configuration] ( #configuration )
1213* [ Eloquent] ( #eloquent )
1314* [ Optional: Alias] ( #optional-alias )
@@ -64,6 +65,25 @@ $capsule->getDatabaseManager()->extend('mongodb', function($config)
6465});
6566```
6667
68+ Upgrading
69+ ---------
70+
71+ ### Upgrading 2.2.x to 3.0.x
72+
73+ In this new major release which supports the new mongodb PHP extension, we also moved the location of the Model class from:
74+
75+ ```
76+ Jenssegers\Mongodb\Model
77+ ```
78+
79+ To:
80+
81+ ```
82+ Jenssegers\Mongodb\Eloquent\Model
83+ ```
84+
85+ So please use the new namespace at the top of your model files, or in your alias.
86+
6787Configuration
6888-------------
6989
You can’t perform that action at this time.
0 commit comments