Skip to content

Commit

Permalink
Merge pull request #1650 from Zuken/compatibility_5.7.14
Browse files Browse the repository at this point in the history
laravel/lumen 5.7.14 compatibility
  • Loading branch information
jenssegers committed Nov 27, 2018
2 parents 97fadd9 + 25a4a87 commit b69ef21
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Jenssegers/Mongodb/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ abstract class Model extends BaseModel
* @var string
*/
protected $primaryKey = '_id';

/**
* The primary key type.
*
* @var string
*/
protected $keyType = 'string';

/**
* The parent relation instance.
Expand Down

0 comments on commit b69ef21

Please sign in to comment.