create_index
Create normal, unique, or composite indexes on a table, with dry-run support for previewing changes before applying.
Instructions
Create an index on a table: normal, unique or composite. Example: columns=['user_id','create_time'], name='idx_order_user_time'. Supports dry_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| unique | No | ||
| columns | Yes | ||
| comment | No | ||
| dry_run | No | ||
| model_id | Yes | ||
| table_ref | Yes |