Migrator
removeColumn()
Signature
Section titled “Signature”removeColumn() — returns void
Available in: migration
Category: Migration Functions
Description
Section titled “Description”Removes a column from a database table Only available in a migration CFC
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
table | string | yes | — | The table containing the column to remove |
columnName | string | no | — | The column name to remove |
referenceName | string | no | — | optional reference name |