Creating indexes on UUID primary key failes
The docs are pretty clear:

```python
# Adding an index:

# Specify the table, column names, and whether the index should be
# UNIQUE or not.
migrate(
    # Create an index on the `pub_date` column.
    migrator.add_index('story', ('pub_date',), False),

    # Create a multi-column index on the `pub_date` and `status` fields.
    migrator.add_index('story', ('pub_date', 'status'), False),

    # Create a unique index on the category and title fields.
    migrator.add_index('story', ('category_id', 'title'), True),
)
```

Please at least look at the docs before opening an issue in the future. On closer inspection it looks like this isn't even for peewee, but for a third-party package. Please refer to the 3rd party package maintainer's documentation or take it up with them. If I do so, I get a different error:

## Code
``` python
import uuid
from peewee import UUIDField,


class CommandControl(Model):
    id = UUIDField(primary_key=True, default=uuid.uuid4)

def migrate(migrator, database, fake=False, **kwargs):
    """Write your migrations here."""
    migrator.create_table(CommandControl)
    migrator.add_index('command_control', ('id',), False)

```

## The error than
``` bash
TypeError: not all arguments converted during string formatting
```
bit unclear what this means and how to solve that part You aren't showing what `migrator` is but from your earlier comment I inferred it is some 3rd party library `peewee_migrate`? Please refer there. You completely right! Will ask the question there!
During creating of tables and creating indexes on that table it failes to create indexes on UUID key.
## The code 
``` python 
import uuid
from playhouse.postgres_ext import  UUIDField

class CommandControl(Model):
    id = UUIDField(primary_key=True, default=uuid.uuid4)

def migrate(migrator, database, fake=False, **kwargs):
    """Write your migrations here."""
    migrator.create_table(CommandControl)
    migrator.add_index(CommandControl.id)

``` 
## The error
``` bash
  File "/app/__pypackages__/3.10/lib/peewee_migrate/migrator.py", line 117, in wrapper
    model._meta.schema = migrator.schema
AttributeError: 'UUIDField' object has no attribute '_meta'
```