Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HergenD authored Sep 16, 2020
1 parent d0a9e13 commit 85de2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ For example, add the following relationship in the default User model:
```php
public function documents()
{
return $this->hasMany('App\Document', 'user', 'uuid');
return $this->hasMany('App\Models\Document', 'user', 'uuid');
}
```
This assumes you have a Documents model where the uuid provided by your identity provider is stored in a 'user' column, this can be anything you want of course, but the local key should always be uuid.
Expand Down

0 comments on commit 85de2b8

Please sign in to comment.