public function getRenameColumnDDL($fromColumn, $toColumn)
    {
        $pattern = "
ALTER TABLE %s RENAME COLUMN %s TO %s;
";

        return sprintf($pattern,
            $this->quoteIdentifier($fromColumn->getTable()->getName()),
            $this->quoteIdentifier($fromColumn->getName()),
            $this->quoteIdentifier($toColumn->getName())
        );
    }
public function getRenameColumnDDL($fromColumn, $toColumn)
    {
        $pattern = "
ALTER TABLE %s RENAME COLUMN %s TO %s;
";

        return sprintf($pattern,
            $this->quoteIdentifier($fromColumn->getTable()->getName()),
            $this->quoteIdentifier($fromColumn->getName()),
            $this->quoteIdentifier($toColumn->getName())
        );
    }
public function getRenameColumnDDL ( $ fromColumn , $ toColumn ) { $ pattern = "
ALTER TABLE %s RENAME COLUMN %s TO %s;
" ; return sprintf ( $ pattern , $ this -> quoteIdentifier ( $ fromColumn -> getTable ( ) -> getName ( ) ) , $ this -> quoteIdentifier ( $ fromColumn -> getName ( ) ) , $ this -> quoteIdentifier ( $ toColumn -> getName ( ) ) ) ; }
Builds the DDL SQL to rename a column

@return string
Builds the DDL SQL to rename a column