Skip to content

Commit f53f07d

Browse files
author
Shawn McCool
committed
Update laravel/documentation/database/eloquent.md
minor grammar update in docs
1 parent 00edb1d commit f53f07d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/documentation/database/eloquent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Many-to-many relationships are the most complicated of the three relationships.
261261
user_id - INTEGER
262262
role_id - INTEGER
263263

264-
Tables contain many records and are consequently plural. Pivot tables used in **has\_many\_and\_belongs\_to** relationships are named by combining the singular names of the two related models arranged alphabetically and concatenated them with an underscore.
264+
Tables contain many records and are consequently plural. Pivot tables used in **has\_many\_and\_belongs\_to** relationships are named by combining the singular names of the two related models arranged alphabetically and concatenating them with an underscore.
265265

266266
Now you're ready to define the relationship on your models using the **has\_many\_and\_belongs\_to** method:
267267

0 commit comments

Comments
 (0)