Hello @maykwok_hamilton,
I believe you could use the Upgrade command to remove the constraint. Are you able to search in the history of your metadata changes to find what name it was given? If not, I can ask engineering, what is the ID for the mandatory constraint or try it in my environment.
Example of this specific upgrade command:
{
name: "Remove uniqueness check for terms",
description: "Remove uniqueness check for term entity using name",
operations:
{
name: "RemoveConstraint",
args: {
targetNode: "term",
constraintId: "TERM_UNIQUENESS"
}
}
]
}
The targetNode
can be also accompanied by the targetProperty
, which will probably be needed for your use case.
Do you know how to apply the Upgrade commands or do you need more guidelines?
Kind regards,
Anna