Skip to content

Commit b69ef21

Browse files
authored
Merge pull request #1650 from Zuken/compatibility_5.7.14
laravel/lumen 5.7.14 compatibility
2 parents 97fadd9 + 25a4a87 commit b69ef21

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Jenssegers/Mongodb/Eloquent/Model.php

+7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ abstract class Model extends BaseModel
3131
* @var string
3232
*/
3333
protected $primaryKey = '_id';
34+
35+
/**
36+
* The primary key type.
37+
*
38+
* @var string
39+
*/
40+
protected $keyType = 'string';
3441

3542
/**
3643
* The parent relation instance.

0 commit comments

Comments
 (0)