protected function applyDefaultColumns($index)
    {
        $column = $this->loadColumnSchema([
            'Field' => 'id',
            'Type' => 'bigint',
        ]);
        $index->columns[$column->name] = $column;
        $index->primaryKey = 'id';
    }
protected function applyDefaultColumns($index)
    {
        $column = $this->loadColumnSchema([
            'Field' => 'id',
            'Type' => 'bigint',
        ]);
        $index->columns[$column->name] = $column;
        $index->primaryKey = 'id';
    }
protected function applyDefaultColumns ( $ index ) { $ column = $ this -> loadColumnSchema ( [ 'Field' => 'id' , 'Type' => 'bigint' , ] ) ; $ index -> columns [ $ column -> name ] = $ column ; $ index -> primaryKey = 'id' ; }
Sets up the default columns for given index.
This method should be used in case there is no way to find actual columns,
like in some distributed indexes.
@param IndexSchema $index the index metadata
@since 2.0.6
Sets up the default columns for given index . This method should be used in case there is no way to find actual columns like in some distributed indexes .