Return to v2.1 docs

dropReference()


Migrator Migration Functions void migration


Drop a foreign key constraint from the database, using the reference name that was used to create it Only available in a migration CFC

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

Related Functions

Migration Functions