Skip to content

Commit e41d68e

Browse files
committed
Merge pull request laravel#1099 from AlexVonB/patch-1
Removed confusing example
2 parents 67502a5 + bdf2cff commit e41d68e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eloquent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To get started, create an Eloquent model. Models typically live in the `app` dir
4040

4141
You may also generate Eloquent models using the `make:model` command:
4242

43-
php artisan make:model Photo
43+
php artisan make:model User
4444

4545
Note that we did not tell Eloquent which table to use for our `User` model. The lower-case, plural name of the class will be used as the table name unless another name is explicitly specified. So, in this case, Eloquent will assume the `User` model stores records in the `users` table. You may specify a custom table by defining a `table` property on your model:
4646

0 commit comments

Comments
 (0)