Fix typo.
This commit is contained in:
@@ -36,7 +36,7 @@ Eloquent makes a few basic assumptions about your database structure:
|
|||||||
- Each table should have a primary key named **id**.
|
- Each table should have a primary key named **id**.
|
||||||
- Each table name should be the plural form of its corresponding model name.
|
- Each table name should be the plural form of its corresponding model name.
|
||||||
|
|
||||||
Sometimes you may wish to use a table name other than the plural form of your model, or a diffrent primary key column. No problem. Just add a static **table** property your model:
|
Sometimes you may wish to use a table name other than the plural form of your model, or a different primary key column. No problem. Just add a static **table** property your model:
|
||||||
|
|
||||||
class User extends Eloquent {
|
class User extends Eloquent {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user