private function collectPrimaryKeys(TableDiff $tableDiff)
    {
        if ($tableDiff->getCreatedPrimaryKey() !== null) {
            $this->createPrimaryKeyQueries = array_merge(
                $this->createPrimaryKeyQueries,
                $this->platform->getCreatePrimaryKeySQLQueries(
                    $tableDiff->getCreatedPrimaryKey(),
                    $tableDiff->getNewAsset()->getName()
                )
            );
        }

        if ($tableDiff->getDroppedPrimaryKey() !== null) {
            $this->dropPrimaryKeyQueries = array_merge(
                $this->dropPrimaryKeyQueries,
                $this->platform->getDropPrimaryKeySQLQueries(
                    $tableDiff->getDroppedPrimaryKey(),
                    $tableDiff->getNewAsset()->getName()
                )
            );
        }
    }