set_primary_key
Replaces a table's primary key with specified columns, supporting composite keys for database modeling.
Instructions
Alias of create_primary_key: replaces the table's primary key with the given columns (composite supported).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| columns | Yes | ||
| dry_run | No | ||
| model_id | Yes | ||
| table_ref | Yes |