public function comparePrimaryKeys(PrimaryKey $oldPrimaryKey, PrimaryKey $newPrimaryKey)
    {
        return ($oldPrimaryKey->getName() !== $newPrimaryKey->getName())
            || ($oldPrimaryKey->getColumnNames() !== $newPrimaryKey->getColumnNames());
    }
public function comparePrimaryKeys(PrimaryKey $oldPrimaryKey, PrimaryKey $newPrimaryKey)
    {
        return ($oldPrimaryKey->getName() !== $newPrimaryKey->getName())
            || ($oldPrimaryKey->getColumnNames() !== $newPrimaryKey->getColumnNames());
    }
public function comparePrimaryKeys ( PrimaryKey $ oldPrimaryKey , PrimaryKey $ newPrimaryKey ) { return ( $ oldPrimaryKey -> getName ( ) !== $ newPrimaryKey -> getName ( ) ) || ( $ oldPrimaryKey -> getColumnNames ( ) !== $ newPrimaryKey -> getColumnNames ( ) ) ; }
Compares two primary keys.

@param \Fridge\DBAL\Schema\PrimaryKey $oldPrimaryKey The old primary key.
@param \Fridge\DBAL\Schema\PrimaryKey $newPrimaryKey The new primary key.

@return boolean TRUE if the primary keys are different else FALSE.
Compares two primary keys .