Skip to content

Migrator

renameTable()

renameTable() — returns void

Available in: migration Category: Migration Functions

Renames a table Only available in a migration CFC

NameTypeRequiredDefaultDescription
oldNamestringyesName the old table
newNamestringyesNew name for the table