edit_relationship
Edit database relationship properties by providing schema and relationship UUIDs. Adjust name, type, source and target columns, plus delete and update actions.
Instructions
Изменить свойства связи.
Args:
schema_uuid: UUID схемы.
relationship_uuid: UUID связи.
source_table_uuid: UUID исходной таблицы.
source_column_uuid: UUID исходной колонки.
target_table_uuid: UUID целевой таблицы.
target_column_uuid: UUID целевой колонки.
relationship_name: Новое название связи.
relationship_type: Новый тип связи.
delete_action: Новое действие при удалении.
update_action: Новое действие при обновлении.
branch_name: Ветка схемы (по умолчанию main).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_name | No | main | |
| schema_uuid | Yes | ||
| delete_action | No | ||
| update_action | No | ||
| relationship_name | No | ||
| relationship_type | No | ||
| relationship_uuid | Yes | ||
| source_table_uuid | No | ||
| target_table_uuid | No | ||
| source_column_uuid | No | ||
| target_column_uuid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |