protected applyDefaultColumns ( |
||
$index | the index metadata |
protected function applyDefaultColumns($index)
{
$column = $this->loadColumnSchema(['Field' => 'id', 'Type' => 'bigint']);
$index->columns[$column->name] = $column;
$index->primaryKey = 'id';
}