public function appendColumnToUniqueIndexes(string $columnName)
    {
        if (!isset($this->columns[$columnName])) {
            throw InvalidArgumentException::format(
                'Invalid column name supplied to %s: expecting one of (%s), \'%s\' given',
                __METHOD__, Debug::formatValues(array_keys($this->columns)), $columnName
            );
        }

        foreach ($this->indexes as $key => $index) {
            if ($index->isUnique()) {
                $this->indexes[$key] = new Index(
                    $index->getName(),
                    true,
                    array_unique(array_merge($index->getColumnNames(), [$columnName]))
                );
            }
        }
    }