Skip to content

Migrator

removeIndex()

removeIndex() — returns void

Available in: migration Category: Migration Functions

Remove a database index Only available in a migration CFC

NameTypeRequiredDefaultDescription
tablestringyesThe table name to perform the index operation on
indexNamestringyesthe name of the index to remove
removeIndex(table='members',indexName='members_username');