hub schema rename relationshipProperty

Rename a model property.

Use the hub schema rename relationshipProperty command to rename a property in a Context Graph model.

Usage

hub schema rename relationshipProperty --m model --r relationshipLabel --p property --np newProperty --s sourceEntityType --t targetEntityType --w waitForComplete
RequiredArgumentDescription
Yes--m modelSpecifies the name of the model whose relationship property you want to rename.
No--r relationshipLabelSpecifies the target relationship label.
Yes--p propertySpecifies the property you want to rename.
Yes--np newPropertySpecifies the new property name.
No--s sourceEntityTypeSpecifies the type of source entity.
No--t targetEntityTypeSpecifies the type of target entity.
No--w waitForCompleteSpecifies whether to wait for jobs to complete in a synchronous mode, where waitForComplete is one of the following:
true
Waits for jobs to complete.
false
Does not wait for jobs to complete. This is the default setting.

Example

This example renames the relationship property HireDate to Start Date in a model called Staff with a relationship label of Hired.

hub schema rename relationshipProperty --m Staff --r Hired --p HireDate --np StartDate