public function renderIndexes(): string
    {
        $output = '';

        if ($this->indexes) {
            foreach ($this->indexes as $index) {
                foreach ($this->foreignKeys as $foreignKey) {
                    if ($foreignKey->name === $index->name) {
                        continue 2;
                    }
                }

                $output .= "\n" . $index->render($this);
            }
        }

        return $output;
    }
public function renderIndexes(): string
    {
        $output = '';

        if ($this->indexes) {
            foreach ($this->indexes as $index) {
                foreach ($this->foreignKeys as $foreignKey) {
                    if ($foreignKey->name === $index->name) {
                        continue 2;
                    }
                }

                $output .= "\n" . $index->render($this);
            }
        }

        return $output;
    }
public function renderIndexes ( ) : string { $ output = '' ; if ( $ this -> indexes ) { foreach ( $ this -> indexes as $ index ) { foreach ( $ this -> foreignKeys as $ foreignKey ) { if ( $ foreignKey -> name === $ index -> name ) { continue 2 ; } } $ output .= "\n" . $ index -> render ( $ this ) ; } } return $ output ; }
Renders the indexes.
@return string
Renders the indexes .