Skip to content

Commit 32082b8

Browse files
committed
Fix primary key example
1 parent 63f9756 commit 32082b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uuid.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class User extends Model
4444
use Uuid;
4545

4646
public $incrementing = false;
47+
48+
protected $primaryKey = 'uuid';
4749
}
4850
```
4951

0 commit comments

Comments
 (0)