Migrator
removeIndex()
Signature
Section titled “Signature”removeIndex() — returns void
Available in: migration
Category: Migration Functions
Description
Section titled “Description”Remove a database index Only available in a migration CFC
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
table | string | yes | — | The table name to perform the index operation on |
indexName | string | yes | — | the name of the index to remove |
Examples
Section titled “Examples”removeIndex(table='members',indexName='members_username');