Migrator
renameColumn()
Signature
Section titled “Signature”renameColumn() — returns void
Available in: migration
Category: Migration Functions
Description
Section titled “Description”Renames a table column Only available in a migration CFC
Parameters
Section titled “Parameters”| 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 |