Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Aug 27, 2022
1 parent 3e4732e commit 14abcb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Consider this [example](https://laravel.com/docs/eloquent-relationships#many-to-
with an additional `HasMany` level:
`User` → many to many → `Role` → has many → `Permission`

Add the pivot table to the intermediate models:
Add the pivot tables to the intermediate models:

```php
class User extends Model
Expand Down Expand Up @@ -398,7 +398,7 @@ class Country extends Model

If multiple columns need to match between two tables, you can define a composite key with the `CompositeKey` class.

Consider this [example](https://github.com/topclaudy/compoships) from the `compoships` documentation with an additional
Consider this [example](https://github.com/topclaudy/compoships#example) from the `compoships` documentation with an additional
level:
`User` → has many (matching `team_id` & `category_id`) → `Task` → belongs to → `Project`

Expand Down

0 comments on commit 14abcb8

Please sign in to comment.