src/Database/Migration/Generator/MySqlGenerator.php
protected function getPhinxTablePrimaryKey($attributes, $table)
    {
        $alternatePrimaryKeys = $this->getAlternatePrimaryKeys($table);
        if (!empty($alternatePrimaryKeys)) {
            $attributes[] = "'id' => false";
            $valueString = '[' . implode(', ', $alternatePrimaryKeys) . ']';
            $attributes[] = "'primary_key' => " . $valueString;
        }

        return $attributes;
    }
protected function getPhinxTablePrimaryKey($attributes, $table)
    {
        $alternatePrimaryKeys = $this->getAlternatePrimaryKeys($table);
        if (!empty($alternatePrimaryKeys)) {
            $attributes[] = "'id' => false";
            $valueString = '[' . implode(', ', $alternatePrimaryKeys) . ']';
            $attributes[] = "'primary_key' => " . $valueString;
        }

        return $attributes;
    }
protected function getPhinxTablePrimaryKey ( $ attributes , $ table ) { $ alternatePrimaryKeys = $ this -> getAlternatePrimaryKeys ( $ table ) ; if ( ! empty ( $ alternatePrimaryKeys ) ) { $ attributes [ ] = "'id' => false" ; $ valueString = '[' . implode ( ', ' , $ alternatePrimaryKeys ) . ']' ; $ attributes [ ] = "'primary_key' => " . $ valueString ; } return $ attributes ; }
Define table id value

@param array $attributes
@param array $table

@return array Attributes
Define table id value