Return to v2.1 docs

dropForeignKey()


Migrator Migration Functions void migration


Drops a foreign key constraint from the database Only available in a migration CFC

Name Type Required Default Description
table string Yes The table name to perform the operation on
keyName string Yes the name of the key to drop

Related Functions

Migration Functions