Replace index related instructions

This commit is contained in:
Gaurav Makhecha 2018-06-15 18:59:00 +05:30 committed by GitHub
parent f292e28727
commit 1b0087bc8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.