Replace index related instructions
This commit is contained in:
parent
f292e28727
commit
1b0087bc8d
|
@ -350,8 +350,6 @@ You may drop multiple columns from a table by passing an array of column names t
|
|||
|
||||
#### Available Command Aliases
|
||||
|
||||
Each index method accepts an optional second argument to specify the name of the index. If omitted, the name will be derived from the names of the table and column(s).
|
||||
|
||||
Command | Description
|
||||
------- | -----------
|
||||
`$table->dropRememberToken();` | Drop the `remember_token` column.
|
||||
|
@ -384,6 +382,8 @@ Laravel will automatically generate a reasonable index name, but you may pass a
|
|||
|
||||
#### Available Index Types
|
||||
|
||||
Each index method accepts an optional second argument to specify the name of the index. If omitted, the name will be derived from the names of the table and column(s).
|
||||
|
||||
Command | Description
|
||||
------- | -----------
|
||||
`$table->primary('id');` | Adds a primary key.
|
||||
|
|
Loading…
Reference in New Issue