there is only one primary key, so all the fields are part of one primary key. so maybe have
```
 $args = "$type KEY(" . implode( ",", $key[ 'field' ] ) . ")"
```