public function getModifyTablePrimaryKeyDDL(TableDiff $tableDiff)
    {
        $ret = '';

        if ($tableDiff->hasModifiedPk()) {
            $ret .= $this->getDropPrimaryKeyDDL($tableDiff->getFromTable());
            $ret .= $this->getAddPrimaryKeyDDL($tableDiff->getToTable());
        }

        return $ret;
    }
public function getModifyTablePrimaryKeyDDL(TableDiff $tableDiff)
    {
        $ret = '';

        if ($tableDiff->hasModifiedPk()) {
            $ret .= $this->getDropPrimaryKeyDDL($tableDiff->getFromTable());
            $ret .= $this->getAddPrimaryKeyDDL($tableDiff->getToTable());
        }

        return $ret;
    }
public function getModifyTablePrimaryKeyDDL ( TableDiff $ tableDiff ) { $ ret = '' ; if ( $ tableDiff -> hasModifiedPk ( ) ) { $ ret .= $ this -> getDropPrimaryKeyDDL ( $ tableDiff -> getFromTable ( ) ) ; $ ret .= $ this -> getAddPrimaryKeyDDL ( $ tableDiff -> getToTable ( ) ) ; } return $ ret ; }
Builds the DDL SQL to alter a table's primary key
based on a TableDiff instance

@return string
Builds the DDL SQL to alter a table s primary key based on a TableDiff instance