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
8
8
Table of contents
9
9
-----------------
10
10
* [ Installation] ( #installation )
11
+ * [ Upgrading] ( #upgrading )
11
12
* [ Configuration] ( #configuration )
12
13
* [ Eloquent] ( #eloquent )
13
14
* [ Optional: Alias] ( #optional-alias )
@@ -64,6 +65,25 @@ $capsule->getDatabaseManager()->extend('mongodb', function($config)
64
65
});
65
66
```
66
67
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
+
67
87
Configuration
68
88
-------------
69
89
You can’t perform that action at this time.
0 commit comments