/** * Renames the specified column. * * @param string $tableName Table Name * @param string $columnName Column Name * @param string $newColumnName New Column Name * @return void */ public function renameColumn($tableName, $columnName, $newColumnName) { $this->adapter->renameColumn($tableName, $columnName, $newColumnName); }
/** * Change a table column dbType. * * @param string $tableName TableMigrationInterface Name * @param string $columnName ColumnMigrationInterface Name * @param ColumnMigrationInterface $newColumnMigrationInterface ColumnMigrationInterface * * @return TableMigrationInterface */ public function changeColumnType($tableName, $columnName, ColumnMigrationInterface $newColumnMigrationInterface) { $this->adapter->renameColumn($tableName, $columnName, $newColumnMigrationInterface); return $this; }