Skip to content

Commit

Permalink
Small fixes to polymorphic relationships
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Nov 26, 2018
1 parent d50c9bc commit ed42b4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eloquent-relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Database tables are often related to one another. For example, a blog post may h
- [One To Many](#one-to-many)
- [Many To Many](#many-to-many)
- [Has Many Through](#has-many-through)
- [One To One Polymorphic Relations](#one-to-one-polymorphic-relations)
- [One To Many Polymorphic Relations](#one-to-many-polymorphic-relations)
- [Many To Many Polymorphic Relations](#many-to-many-polymorphic-relations)
- [One To One (Polymorphic)](#one-to-one-polymorphic-relations)
- [One To Many (Polymorphic)](#one-to-many-polymorphic-relations)
- [Many To Many (Polymorphic)](#many-to-many-polymorphic-relations)

<a name="defining-relationships"></a>
## Defining Relationships
Expand Down Expand Up @@ -445,7 +445,7 @@ Typical Eloquent foreign key conventions will be used when performing the relati
}

<a name="polymorphic-relationships"></a>
### Polymorphic Relationships
## Polymorphic Relationships

A polymorphic relationship allows the target model to belong to more than one type of model using a single association.

Expand Down

0 comments on commit ed42b4a

Please sign in to comment.