public function getChangeColumnDDL($fromColumn, $toColumn)
    {
        $pattern = "
ALTER TABLE %s CHANGE %s %s;
";

        return sprintf($pattern,
            $this->quoteIdentifier($fromColumn->getTable()->getName()),
            $this->quoteIdentifier($fromColumn->getName()),
            $this->getColumnDDL($toColumn)
        );
    }
public function getChangeColumnDDL($fromColumn, $toColumn)
    {
        $pattern = "
ALTER TABLE %s CHANGE %s %s;
";

        return sprintf($pattern,
            $this->quoteIdentifier($fromColumn->getTable()->getName()),
            $this->quoteIdentifier($fromColumn->getName()),
            $this->getColumnDDL($toColumn)
        );
    }
public function getChangeColumnDDL ( $ fromColumn , $ toColumn ) { $ pattern = "
ALTER TABLE %s CHANGE %s %s;
" ; return sprintf ( $ pattern , $ this -> quoteIdentifier ( $ fromColumn -> getTable ( ) -> getName ( ) ) , $ this -> quoteIdentifier ( $ fromColumn -> getName ( ) ) , $ this -> getColumnDDL ( $ toColumn ) ) ; }
Builds the DDL SQL to change a column

@return string
Builds the DDL SQL to change a column