protected function loadIndexSchema($name)
    {
        $index = new IndexSchema();
        $this->resolveIndexNames($index, $name);
        $this->resolveIndexType($index);

        if ($this->findColumns($index)) {
            return $index;
        }
        return null;
    }