Return to v2.1 docs

renameColumn()


Migrator Migration Functions void migration


Renames a table column Only available in a migration CFC

Name Type Required Default Description
table string Yes The table containing the column to rename
columnName string Yes The column name to rename
newColumnName string Yes The new column name

Related Functions

Migration Functions