apply_schema_patch
Apply structured schema patch operations to a PowerDesigner model, with atomic rollback on failure and dry-run plan preview.
Instructions
Apply an ordered list of structured patch operations to a model. operations: [{op: create_table|alter_table|rename_table|drop_table|add_column|alter_column|drop_column|create_primary_key|drop_primary_key|create_reference|alter_reference|drop_reference|create_index|alter_index|drop_index|create_domain, ...}]. Execution stops at the first failure and (atomic, default) rolls back. dry_run=true returns the plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atomic | No | ||
| dry_run | No | ||
| model_id | Yes | ||
| operations | Yes |