Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 22, 2021
1 parent ce53fb2 commit d7d8d5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eloquent.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ If your model's primary key is not an integer, you should define a protected `$k
protected $keyType = 'string';
}

#### "Composite Primary Keys"
<a name="composite-primary-keys"></a>
#### "Composite" Primary Keys

Eloquent requires each model to have at least one uniquely identifying "ID" that can serve as its primary key. "Composite" primary keys are not supported by Eloquent models. However, you are free to add additional multi-column, unique indexes to your database tables in addition to the table's uniquely identifying primary key.

Expand Down

0 comments on commit d7d8d5b

Please sign in to comment.