public function addAddedPkColumn($columnName, Column $addedPkColumn)
    {
        if (!$addedPkColumn->isPrimaryKey()) {
            throw new DiffException(sprintf('Column %s is not a valid primary key column.', $columnName));
        }

        $this->addedPkColumns[$columnName] = $addedPkColumn;
    }
public function addAddedPkColumn($columnName, Column $addedPkColumn)
    {
        if (!$addedPkColumn->isPrimaryKey()) {
            throw new DiffException(sprintf('Column %s is not a valid primary key column.', $columnName));
        }

        $this->addedPkColumns[$columnName] = $addedPkColumn;
    }
public function addAddedPkColumn ( $ columnName , Column $ addedPkColumn ) { if ( ! $ addedPkColumn -> isPrimaryKey ( ) ) { throw new DiffException ( sprintf ( 'Column %s is not a valid primary key column.' , $ columnName ) ) ; } $ this -> addedPkColumns [ $ columnName ] = $ addedPkColumn ; }
Add an added Pk column

@param string $columnName
@param Column $addedPkColumn
Add an added Pk column