Builds and executes a SQL statement for renaming a column.
public renameColumn ( string $table, string $name, string $newName ) | ||
$table | string | the table whose column is to be renamed. The name will be properly quoted by the method. |
$name | string | the old name of the column. The name will be properly quoted by the method. |
$newName | string | the new name of the column. The name will be properly quoted by the method. |