forked from tdm00/cfwheels-dbmigrate-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
apimigrationrenamecolumn
Troy Murray edited this page Sep 19, 2011
·
3 revisions
Renames an existing column in a table
renameColumn(table,columnName,newColumnName);
Parameter | Type | Required | Default | Description |
table | string | Yes | existing table name | |
columnName | string | Yes | existing column name | |
newColumnName | string | Yes | new name for column |
renameColumn(table='members',columnName='status',newColumnName='memberStatus');