yii\sphinx\Schema::applyDefaultColumns PHP Method

applyDefaultColumns() protected method

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