private function collectIndexes(TableDiff $tableDiff)
    {
        foreach ($tableDiff->getCreatedIndexes() as $index) {
            $this->createIndexQueries = array_merge(
                $this->createIndexQueries,
                $this->platform->getCreateIndexSQLQueries($index, $tableDiff->getNewAsset()->getName())
            );
        }

        foreach ($tableDiff->getDroppedIndexes() as $index) {
            $this->dropIndexQueries = array_merge(
                $this->dropIndexQueries,
                $this->platform->getDropIndexSQLQueries($index, $tableDiff->getNewAsset()->getName())
            );
        }
    }