Toggle navigation
Guides
API
Blog
Discussions
Issue Tracker
Plugins
Downloads
Return to v2.3 docs
renameTable()
Permalink
JSON
Migrator
Migration Functions
void
migration
Renames a table Only available in a migration CFC
Name
Type
Required
Default
Description
oldName
string
Yes
Name the old table
newName
string
Yes
New name for the table
Related Functions
Migration Functions
addColumn()
addForeignKey()
addIndex()
addRecord()
addReference()
changeColumn()
changeTable()
createTable()
createView()
down()
dropForeignKey()
dropReference()
dropTable()
dropView()
execute()
removeColumn()
removeIndex()
removeRecord()
renameColumn()
renameTable()
up()
updateRecord()