Skip to content

Migrator

removeColumn()

removeColumn() — returns void

Available in: migration Category: Migration Functions

Removes a column from a database table Only available in a migration CFC

NameTypeRequiredDefaultDescription
tablestringyes—The table containing the column to remove
columnNamestringno—The column name to remove
referenceNamestringno—optional reference name